A nation roiled after former president’s conviction