During his second term as President, Cabañas attempted to build the railroad in Honduras. He was supported by the common Central American people, but his liberal beliefs were not accepted by the conservatives, then holding power. He was popularly known as being "The gentleman without blemish and without fear".
José Trinidad Cabañas was born to José María Cabañas Rivera and Juana Fiallos in Tegucigalpa and was baptized on the day of his birth in 1805.
In 1827, when the military forces of Justo Milla invaded and besieged Comayagua, and overthrew the government of Dionisio de Herrera, Cabañas, at 22 years old, was volunteered with his brothers by his aged father, who proclaimed,
Cabañas later joined the army of the Federal Republic of Central America, where he was deputy to Gen. Francisco Morazán and eventually became a General of the Federal Army, gaining political and military leadership, which earned him the position of deputy of the Constituent Assembly of 1830.