Juan Velasco Alvarado The military commanders of the 1st, 2nd, 3rd, 4th, and 5th military regions declared that Velasco had not achieved most of what the "Peruvian Revolution" had stood for and was unable to continue in his functions. Prime Minister Francisco Morales Bermúdez was then appointed president, by unanimous decision of the new military junta. Prior to being deposed, Velasco had been seriously ill for at least a year. He had lost a leg to an embolism, and his cognitive abilities and personality were rumoured to have been affected by related circulatory problems. At the time of the coup, he was convalescing
Juan Bautista Alvarado Frémont arrived in Monterey at the beginning of 1846. Afraid of foreign aggression, Castro assembled his militia, with Alvarado second in command, but Frémont went north to Oregon instead. An unstable political situation in Mexico strained relations among the Californios and it seemed that civil war would break out between north and south. On July 7, Commodore John D. Sloat occupied Monterey, declaring to the citizenry that the Mexican–American War had begun. Pico, Castro, and Alvarado set aside their differences to focus on the American threat, but by the end of August, Pico and Castro fled to Mexico, and Alvarado