Vergara played a significant role in Colombian politics during a crucial transition and is known for his efforts to establish a monarchy in the country.
The family's Colombian lineage began in 1612 with Francisco de Vergara y Azcarate, a Lieutenant Captain General of the Spanish Empire and his son, Antonio de Vergara Azcarate y Dávila, served as a royal treasurer for 50 years until his death, and his descendants continued to serve in the colonial bureaucracy, during the independence era, and into the republic.
Specifically, he regularly attended the "Tertulia del Buen Taste" created by his aunt Manuela Sanz de Santamaría from a young age.
Entering the year 1816, he learned of the taking of Cartagena by Pablo Morillo and the disastrous battle of Charirí that gave a large part of the territory to the Spanish who were in the midst of reconquering New Granada.
Due to the imminent threat of the royalist troops taking Santafé, Governor Nicolás Ribas resigned on April 24, and Vergara was promoted to that position.
When presented with offers from the family, the peacemaker Morillo decides to waive the prescribed sentence and instead demands payment of a sum of money.
Three days later, on August 10, a group of republicans held an extraordinary town hall meeting and established a provisional government.
They appointed Estanislao Vergara as the delegate of Santafé to meet with El Libertador Simón Bolívar and inform him of the events occurring in the capital.
Bolívar appointed General Francisco de Paula Santander as vice president and divided the administration of New Granada into two departments.
On July 12, the second fundamental law of the Republic of Colombia was discussed in the Cúcuta congress, and on August 6, it was published in Bogotá by Vice President Santander and Secretary General Vergara.
At the end of that year, he was summoned again by General Santander and was elected as a deputy for the province of Bogotá to take part in the Cúcuta congress.
In December of the same year, Vice President Santander appointed him as the Mayor of Cundinamarca, which included the provinces of Bogotá, Antioquia, Mariquita, and Neiva.
This instruction incorporated severe Police actions, such as the appointment of a sentinel per block to advance the registration of Bogotá and detect unemployed people so that they could be immediately referred to the Army.
On July 17, he introduced bills aimed at establishing the territorial division of the Republic and organizing the political regime of Colombia.
Empowered by the Council of Ministers, Vergara initiated contacts with Europe to explore the possibility of having a European monarch rule the country.
He corresponded with Colombian ministers in Great Britain and France, specifically José Fernández Madrid and Leandro Palacios, expressing the council's preference for a French monarch.
However, negotiations with Great Britain failed when the kingdom refused to approve a monarch of French origin for Colombia, despite Vergara's support.
He led a movement defending the Constitution of Cúcuta and took up arms to reject Bolívar's invitation to join the Council of Ministers as Secretary of the Navy.
In recognition of his service and his frail health, the Colombian Congress approved a lifetime pension of forty pesos per month for Vergara on April 13, 1855.