He was born on June 13, 1842, within the home formed by Manuel Villavisencio and Juana Freyre. She married two times, first with María Ayllón and then with Carmen Coronel Zegarra.
After completing his studies in the French Peruvian College, in August 1855 he entered the Naval Military School as midshipman. Its main embarkation in the "Izcuchaca" war steamer, and from there it happened to the frigate "Callao" in April of 1858. A board of her concurred to the blockade of the Ecuadorian ports in the campaign of 1859-1860. After the sinking of the frigate in front of the island San Lorenzo, happened to the endowment of the transport frigate "Arica" in August of 1861.
He also served in the "Chalaco" transport between 1865 and 1866, also participating in the campaign in Chilean waters, during the conflict with Spain in 1866-1867, aboard this ship and from August 1866, as Lieutenant First, in the brand new Monitor "Huáscar". He would leave the monitor in 1871, when he was Captain of Corvette, to pass a command of the transport steam "Mayro".
At the beginning of the war with Chile in April of 1879, already was Captain of Ship, and also commander of the transport "Chalaco". With him he carried a corporal of commissions of transport of the acquired armament, as well as troops and equipment to the forces located in the south.
The commander of the corvette "Union" was assigned it from December of that year, obtaining the 17 of March of 1880 the promise to break of times the blockade imposed by four Chilean units to the port of Arica, the mission that allowed the disembarkation of material Of War and the transport of the torpedo boat "Alianza". He returned to Callao to repair his breakdowns, and immediately participated in the defense of the port and the skirmishes held with the Chilean squadron in April and May of that year, until the fall of Lima in January 1881. Due to this fact, he had That gives the painful order of sinking the glorious crown so that, like the rest of the squad, it would not fall into enemy hands.
After the war he held several public offices. In 1883 he was Minister of War and Navy. For a brief period he assumed command of the "Santa Rosa" steamer in 1885. He was also a senator by Áncash the following year, Commander General of the Squadron and Director of the Naval School in 1902. After returning to occupy the Navy and War In Two Opportunities He retired as Vice Admiral in 1912, and at the end of his life he was senator for Callao. He died in Lima on December 20, 1925.