One of the terms used to denote the republic was the ‘Khap‘. Others were Pal, Janapada, and Ganasangha etc. The Khap consisted a unit of 84 villages. The individual villages were governed by an elected Council, which was known as the Panchayat. A unit of seven villages was called a Thamba and 12 Thambas would form the unit of 84 villages, though Khaps of 12 and 24 villages existed. Their elected leaders would determine which units would be represented at the Khap level. These Khaps are found to be spread all the way from Northwest India down to Madhya Pradesh, Malwa, Rajasthan, Sindh, Multan, Punjab, Haryana, and modern Uttar Pradesh

The region from Western Uttar Pradesh through Agra, Mathura, to the Sutlej River in the Punjab was known as Haryana, dominated by Jats and Gurjars. The influence of the Sarv Khap extended to the Malwa province in Central India, Rajasthan and Sindh. Its boundaries also varied widely throughout history.

The largest Khap in Haryana is the Satrol Khap, which allowed inter-caste marriage in 2014.

Source: https://en.wikipedia.org/wiki/Khap