Donald John Trump will be the 45th president of the United States, capping a historic and boisterous run by an outsider who captured a loyal following across a swath of America fed up with establishment politics, the news media and elected officials.

His success was only part of a larger, crushing victory for the Republican Party, which retained the House and maintained control of the Senate.