President ObamaBarack Hussein ObamaEx-Saudi official says he was targeted by a hit team after fleeing to Canada Republican spin on Biden is off the mark Yellen expects inflation to return to normal levels next year MORE phoned several Democrats who won Tuesday night. 

He called Virginia Governor-elect Terry McAuliffe, New York City Mayor-elect Bill de BlasioBill de BlasioThe Hill's Morning Report - Presented by Uber - Biden makes his pitch as tax questions mount Hochul gets early boost as NY gubernatorial race takes shape Overnight Health Care — Presented by Carequest — Boosters take a big step forward MORE and Boston Mayor-elect Martin Walsh.

“He congratulated each of them on their election victories and vowed to work with them in the months ahead to expand economic opportunity for middle class families in their communities,” White House spokesman Jay Carney said in a statement.

ADVERTISEMENT

Obama had campaigned for McAuliffe and de Blasio during the last leg of their races. He made a quick stop for McAuliffe in Virginia on Sunday and attended a fundraiser for de Blasio during an education-focused trip to New York a few weeks ago.

The Virginia gubernatorial race had not been called immediately after the polls closed at 7 p.m., like the New Jersey governor’s race. Republican Attorney General Ken Cuccinelli had been leading initially, but the remaining counties were those in Northern Virginia, which are heavily Democratic.

With nearly 100 percent of precincts reporting Wednesday morning, McAuliffe defeated Cuccinelli by less than 3 percentage points.

De Blasio's race was called shortly after polls closed at 9 p.m. in New York. He beat Republican Joe Lhota in a landslide. 

In Boston, Walsh defeated John Connolly. Walsh succeeds Mayor Tom Menino, who has served as the city’s mayor for 20 years.