Machetá in the times before the Spanish conquest was inhabited by the Muisca, organized in their Muisca Confederation. Machetá was ruled by the "zaque" based in Hunza, currently known as the capital of Boyacá Department Tunja.