Donald Trump has made history by becoming the first former United States president to face federal criminal prosecution for actions taken while in office.