The US election ended with former-Vice President Joe Biden winning the presidency over Republican incumbent Donald Trump. In the midst of a pandemic and with the economy reeling, the campaign was long and contentious.