Donald Trump's hush money sentencing marks the culmination of the first-ever criminal case brought against a US president, past or present.