He was denounced by rebel propagandists as a tyrant and remembered by Americans as a reactionary dolt. Who was he really?