 In Guatemala he was ordained a priest.Beginning in 1784 he resided in Valladolid (now Morelia), where Bishop Antonio San Miguel made him a judge in a canon law court.In that position he gained considerable knowledge about church wealth in terms of capital and credit.