 He was a leader of the movement towards Central American unity.Together with Francisco Castellón Sanabria, he participated in bringing to Nicaragua the filibuster of William Walker and on 31 October 1855 was designated Minister of Foreign Relations in Walker's provisional government, led officially by Patricio Rivas.He ran for the presidency in 1856, but no candidate obtained an absolute majority.