Mahmud Nedim Pasha reduced the size of some of the larger provinces, thus taking Sofia from the Danube Vilayet, Sebinkarahisar from Trabzon, and Maras from Adana and making them into separate provinces, and also taking Herzegovina from Bosnia and joining it with Novipazar in a new province.