 He was a court favorite when King Charles II of Spain appointed him Viceroy of Peru in 1666.The Count and Countess of Lemos (a title related to the Spanish city of Monforte de Lemos) arrived in Peru at the port of Callao on November 9, 1667.They were received by the Spanish of the colony with much pomp.