The April Uprising of 1876 against the Ottoman rule was widely supported within the region and the town of Panagyurishte became the center of the uprising. The Bulgarian population also rebelled to the south where the Ottoman atrocities culminated in the Batak massacre. According to the Treaty of Berlin after the Liberation of Bulgaria in 1878 the region was included in the autonomous region Eastern Rumelia which united with the Principality of Bulgaria on 6 September 1885.