President Barack Obama has been re-elected to a second term, defeating Republican challenger Mitt Romney.
America’s first black president secured the 270 votes in the electoral college needed to win the race.
In his victory speech before supporters in Chicago, Mr Obama said he would talk to Mr Romney about “where we can work together to move this country forward”.
Mr Obama prevailed despite lingering dissatisfaction with the economy and a hard-fought challenge by Mr Romney.
His Democrats also retained their majority in the Senate, which they have held since 2007, while Republicans kept control of the House.
With Florida’s 29 electoral votes still undecided, Mr Obama won 303 electoral votes to Mr Romney’s 206.
The popular vote, which is symbolically and politically important but not decisive in the race, remains very close.
Mr Obama greeted jubilant supporters and congratulated Mr Romney and Republican vice-presidential candidate Paul Ryan on their hard-fought campaign.
“We have picked ourselves up, we have fought our way back and we know in our hearts that for the United States of America the best is yet to come,” he said.
- California 55
- Colorado 9
- Connecticut 7
- District of Colombria 3
- Delaware 3
- Hawaii 4
- Iowa 6
- Illinois 20
- Massachusetts 11
- Maryland 10
- Maine 4
- Michigan 16
- Minnesota 10
- New Hampshire 4
- New Jersey 14
- New Mexico 5
- Nevada 6
- New York 29
- Ohio 18
- Oregon 7
- Pennsylvania 20
- Rhode Island 4
- Virginia 13
- Vermont 3
- Washington 12
- Wisconsin 10
- Alaska 3
- Alabama 9
- Arkansas 6
- Arizona 11
- Georgia 16
- Idaho 4
- Indiana 11
- Kansas 6
- Kentucky 8
- Louisiana 8
- Missouri 10
- Mississippi 6
- Montana 3
- North Carolina 15
- North Dakota 3
- Nebraska 5
- Oklahoma 7
- South Carolina 9
- South Dakota 3
- Tennessee 11
- Texas 38
- Utah 6
- West Virginia 5
- Wyoming 3
Mr Obama said he was returning to the White House “more determined, and more inspired than ever about the work there is to do, and the future that lies ahead”.
He pledged to work with Republican leaders in Congress to reduce the government’s budget deficit, fix the tax code and reform the immigration system.
“We are an American family and we rise and fall together as one nation,” he said.
In Boston, where his campaign was based, Mr Romney congratulated the president and said he and Mr Ryan had “left everything on the field” and had given their all in the campaign.
Mitt Romney addressed his supporters in Boston and offered his congratulations to Obama and his team
Referring to the struggling economy, Mr Romney said that now was not the time for “partisan bickering and political posturing”, and that Republicans and Democrats must “put people before politics”.
“I so wish that I had been able to fulfil your hopes to lead the country in a different direction but the nation chose another leader and so I join with you to earnestly pray for him and for this great nation,” he said.
Under the US constitution, each state is given a number of electoral votes in rough proportion to its population. The candidate who wins 270 electoral votes – by prevailing in the mostly winner-takes-all state contests – becomes president.
On Tuesday, the president held the White House by assembling solid Democratic states and a number of important swing states such as Colorado, Iowa, Pennsylvania, Michigan, Minnesota, Virginia and Wisconsin. His narrow victory in Ohio, a critical Mid-Western swing state, sealed the victory.
Mr Romney won North Carolina and Indiana, both of which Mr Obama won in 2008, as well as the solid Republican states.
President Obama’s supporters celebrated his victory around the US
But he was unable to win in Ohio or other states needed to breach the 270 threshold.
Also on Tuesday’s ballot were 11 state governorships, a third of the seats in the 100-member US Senate and all 435 seats in the House of Representatives.
Mr Obama’s victory came despite lingering high unemployment – 7.9% on election day – and tepid economic growth.
But voters gave him credit for his 2009 rescue of the US car industry among other policy accomplishments, and rewarded him for ordering the commando mission that killed Osama Bin Laden in Pakistan last year.
He and Mr Romney, as well as their respective allies, have spent more than $2bn (£1.25bn) – largely on adverts in swing states.