He held the throne barely three years, amid constant revolts at home and defeats abroad.