 Once again, after the revolutionary triumph of August 7, 1819, Caycedo returned to public life under the protection of Simón Bolívar.In 1827 he was appointed as Governor of Neiva, elected to Congress, and ascended to General of the Army.He became part of the inner circle of Bolívar, who appointed him as Secretary of the Interior in 1829 and a year later as Secretary of State.