Former President Donald Trump will return to the White House after securing victories in several battleground states.