With the law of 15 June 1857, the state was divided into 8 departments, but in 1858 most were abolished, leaving only Bogotá Department, Neiva Department, Mariquita Department, and San Martín Territory.[3]