After the Berlin agreement, signed in 1878, there were some administrative changes in the Ottoman Empire. Bujanovac and its surroundings became part of the "Preševo area" of the Priština District and in 1905–1912 Bujanovac belonged to the 2nd category of borough covering 28 villages. After the Balkan Wars, the area belonged to Kumanovo District of the Kingdom of Serbia.