As stipulated at the Jimaguayú Assembly two years earlier, a second Constituent Assembly met in La Yaya, Camagüey, on 10 October 1897. The newly adopted constitution decreed that a military command be subordinated to civilian rule. The government was confirmed, naming Bartolomé Masó as president and Domingo Méndez Capote as vice president. Thereafter, Madrid decided to change its policy toward Cuba, replacing Weyler, drawing up a colonial constitution for Cuba and Puerto Rico, and installing a new government in Havana. But with half the country out of its control, and the other half in arms, the new government was powerless and rejected by the rebels.