he was a cousin of juan margarit y pau bishop of elna and gerona