 When Agustn Gamarra took office as the new president of Peru on August 25, 1839, he officially declared the dissolution of the Confederation and of the merging of the Northern and Southern Peruvian Republics into a single state to be called again Peru and separate from Bolivia.
<clarity>  When Agustn Gamarra took office as the new president of Peru on August 25, 1839, he officially declared the dissolution of the Confederation and of the merging of the Northern and Southern Peruvian Republics into a single state to be called again Peru and separate from Bolivia.
 When Agustn Gamarra took office as the new president of Peru on August 25, 1839, he officially declared the dissolution of the Confederation and of the merging of the Northern and Southern Peruvian Republics into a single state , again called Peru, and separate from Bolivia.