 "Comuneros" rebels came from nearby regions, united, traveled to the capital, Bogota, and fought for the nation's independence, a process which occurred during the early 1820s.San Gil's population, as of 2005, was 42,000, (including the rural area).The majority (36,748) reside in the urban area.