 It became a municipality by decree during the Sovereign State of Cundinamarca.The rural area then was divided into landlords and peasants.In 1954 the municipality was formally annexed to the "Special District of Bogotá" during the reign of Gustavo Rojas Pinilla while still keeping its municipality status.