Friday's unprecedented sentencing hearing capped off a yearslong, tumultuous and, at times, embarrassing ordeal that resulted in Donald Trump becoming the first former president to be criminally convicted.