Donald J Trump was on Monday sworn in as the 47th president of the United States, marking his remarkable return to power for a second term four years after he left the American capital as a pariah.