After Indonesia's independence, the residents attempted to build a foundation for a new government. However, after the Dutch army recaptured nearby East Sumatra in 1947, they chose a new leader for the Dairi area. Another leader was chosen in 1949; later that year, after the Netherlands and Indonesia signed an agreement for Indonesian independence