 He also assigned the bishop, for the time being, the territories of the vacant bishoprics of Lamego and Viseu, until such time as they could have their own bishops; and the territory and parishes of the Villa Vacaricia, which had been given by Count Raymond to the diocese of Coimbra.From 1139 Coimbra was the capital of the kingdom of Portugal and a principal beneficiary of the generosity of its kings, until the seat of government was moved to Lisbon in 1260.Among the more famous bishops have been Pedro (1300), chancellor of King Dinis; João Galvão, who was granted the title of Conde de Arganil for himself and his successors, on 25 September 1472 by King Alfonso V, in gratitude for his service in the conquest of Arzila and Tangier; and Manuel de Menezes (1573–78), former rector of the University of Coimbra from 1556 to 1560, who fell with King Sebastian in the Battle of Alcácer Quibir on 4 August 1578.