José Mariano de la Cruz de la Riva Agüero y Sánchez Boquete, Marquess of Montealegre de Aulestia was a soldier, politician, and historian who served as the 1st President of Peru and 2nd President of North Peru. He was the first Head of State who had the title of President of the Republic.