Later, in 1941, Peru and Ecuador fought the Ecuadorian–Peruvian War, after which the Rio Protocol sought to formalize the boundary between those two countries. In a military coup on 29 October 1948, General Manuel A. Odría became president. Odría's presidency was known as the ''Ochenio''.  He came down hard on APRA, momentarily pleasing the oligarchy and all others on the right, but followed a populist course that won him great favor with the poor and lower classes. A thriving economy allowed him to indulge in expensive but crowd-pleasing social policies. At the same time, however, civil rights were severely restricted and corruption was rampant throughout his regime. Odría was succeeded by Manuel Prado Ugarteche. However, widespread allegations of fraud prompted the Peruvian military to depose Prado and install a military junta, led by Ricardo Pérez Godoy. Godoy ran a short transitional government and held new elections in 1963, which were won by Fernando Belaúnde Terry who assumed presidency until 1968. Belaúnde was recognized for his commitment to the democratic process. In 1968, the Armed Forces, led by General Juan Velasco Alvarado, staged a coup against Belaúnde. Alvarado's regime undertook radical reforms aimed at fostering development, but failed to gain widespread support. In 1975, General Francisco Morales-Bermúdez forcefully replaced Velasco, paralyzed reforms, and oversaw the reestablishment of democracy.