John fathered at least four children from various extramarital affairs: António of Braganza, by Luísa Inês Antónia Machado Monteiro, Gaspar of Braganza, Archbishop of Braga, by Madalena Máxima de Miranda, José of Braganza, High Inquisitor of Portugal, by Paula de Odivelas, and Maria Rita of Braganza, by Luísa Clara de Portugal. Out of his four illegitimate children, the three males were all recognized as John's sons and were collectively known as the Children of Palhavã, after the Palace of Palhavã that belonged to Luís Carlos Inácio Xavier de Meneses, 1st Marquis of Louriçal, where they lived at John's expense. The Children of Palhavã received educations worthy of nobility and went on to become noteworthy members of the clergy. Maria Rita was never officially recognized as his daughter, but he informally arranged for her life at the Convent of Santos and managed her expenses. The husband of Maria Rita's mother, Jorge de Meneses, attempted to stop John's actions for Maria Rita, but the king had him exiled to Spain and then to England.