Such urbanization allowed Cumans to participate in the recolonization of Bács-Bodrog County, further to the south; however, the recording and correction of borders in the age of Josephinism prevented Jászkunság itself from expanding southward, and created frustration among its inhabitants. The self-governing communities also had occasional conflicts with their neighbors to the north: in 1776 the government of Heves County destroyed a sluice, forcing Cumans downstream to leave their homes; in 1785 Joseph II ordered Heves to rebuild that facility. That same year, Jászkunság was made subordinate to a temporary district, with a new capital at Pest.