John I (1385–1433), first King of the second dynasty, broke the tradition of transferring Sintra to the "Casa da Rainha" (Queen's property). Probably around 1383, John I granted the lands of Sintra to Count Henrique Manuel de Vilhena, quickly revoking the decision after Henrique took the Infanta's side during the dynastic quarrel. Sintra, therefore, continued as a possession of the King, who expanded the local estate. Until the end of the 17th century, the royal palace constituted one of the principal residences and summer estates of the court: it was from here that John decided to conquer Ceuta (1415); King Afonso V was born and died at the palace (1433–1481); and here King John II (1481–1495) was acclaimed sovereign.