Although Habsburg rule was more oppressive than Ottoman and exploited the local Serb majority, the latter did benefit from self-government, including an autonomous militia, and economic integration with the Habsburg monarchy—reforms that contributed to the growth of the Serb middle class and were continued by the Ottomans "in the interest of law and order". Serbia's population increased rapidly from 270,000 to 400,000, but the decline of Habsburg power in the region provoked the second Great Serb Migration (1737–39).