A market surge propelled the Dow to a new record high.