He was still in office when the king of Portugal, Carlos I, and his son and heir to the throne, Luis Filipe, were killed by republican revolutionaries on 1 February 1908.