What 2 countries killed their absolute ruler during the time with revolts?