 He was overwhelmingly elected to the Constituent Assembly, being elected as the body's president, and leading the drafting of a new Peruvian Constitution, which he would sign in his deathbed in July 1979.He died on August 2, 1979, and his remains rest in his hometown of Trujillo.He remains one of the most influential political thinkers in Peruvian history.