 At the death of the viceroy Galvez on November 30, 1786, the Captain General regained its autonomy from the new viceroy.The Inspector General Galvez proposed to Viceroy Croix in 1769 the creation of the Intendencies of the Californias and Sonora.The viceroy appointed Matías de Armona and then Felipe de Barri for the former and Eusebio Ventura Beleña for the latter, but those projections never reached implementation.