President Barack Obama won re-election to a second term in a close race against Republican challenger Mitt Romney. Growing optimism about the economy and a big voter turnout among Democrats appeared to make the difference.
Reaction to President Barack Obama's victory was swift and passionate. Across the country, Obama supporters cheered. Supporters of Mitt Romney were left wondering why the Republican's White House bid fell short.
In his victory speech, President Obama pledged to work with Congress to solve the nation's problems.
"And in the coming weeks and months I am looking forward to reaching out and working with leaders of both parties to meet the challenges we can only solve together," he said. "Reducing our deficit. Reforming our tax code. We have got more work do."
Romney said it's time to put partisan politics aside and work together for the good of the country.
"This is a time of great challenges for America, and I pray that the president will be successful in guiding our nation," said Romney.
The economy ranked as the top issue by nearly 60 percent of voters surveyed as they left polling places. Analysts say an improved economy made the difference in the key state of Ohio, where President Obama was credited with preventing the collapse of the US auto industry and saving jobs.
"It is not campaigns that decide elections, it is governing," said Allan Lichtman, a political science professor at American University in Washington. "And it's not just the economy, but it is a broad range of governing factors."
Another surprise of this election was the gender gap. Obama won women voters, while a majority of men voted for Romney. President Obama also did well with minorities, especially Hispanics, who gave Democrats their largest margin of support since 1996.
Lichtman says the Republican Party needs to broaden its support.
"The Republican Party will not survive unless it figures out a way, and that is going to be really hard to appeal to minorities and to appeal to women, given their stance on abortion, on immigration, on civil rights," he said. "That is a task for Republicans."
Obama will again face a divided Congress. Democrats retained control of the U.S. Senate while Republicans kept control of the House of Representatives.
Analysts say the president's supporters know their celebration could be short lived unless he and lawmakers find common ground to solve the nation's pressing problems.
Japan 'must end outdated policy'
Five in court over sale of teen's kidney
Hand, foot, mouth disease kills 240
2 dead, 19 injured in Toronto shooting
Military to strengthen ties with US
Chinese Apple users favor free programs
Olympic-themed lottery debuts
S. Korea's Lee apologizes for graft scandal
Beijing flood death toll hits 77
173 sheep killed by lightning
Wealthy Chinese charter flights to watch Olympics
Clinton's Africa visit fuels debate on competition between US and China
Food safety becomes national priority
Louis Vuitton chases fakes from market
Blackout hits more than 300 million in India
London apologizes for DPRK flag mix-up
Eight miners rescued from coal mine accident
Swimmers told to avoid jellyfish after tragedy
Attitude toward sex, pregnancy changing
New iPad 'will not fare well' on mainland
Federer, Djokovic set for first grass match
Major hacking syndicate cracked, police say
Romney picks Paul Ryan for running mate
Accident raises concern over trucks
Adopted children discover China
Ancient villages welcome investors
Romney booed at NAACP convention
Rivals to rest on Fourth of July break
Military dismisses islands war fear
'New law' focuses on work permits