The Military Frontier was a borderland of the Habsburg monarchy and later the Austrian and Austro-Hungarian Empire. It acted as the cordon sanitaire against incursions from the Ottoman Empire.
The establishment of the new defense system in Hungary and Croatia took place in the 16th century, following the election of Ferdinand I as king. Six districts under special military administration were established in Hungary and Croatia. The Croatian Military Frontier and the Slavonian Military Frontier came under the jurisdiction of the Croatian Sabor and ban. In 1627, they were placed under the direct control of the Habsburg military. For more than two centuries, they would retain complete civilian and military authority over the area, up to the abolition of the Military Frontier in 1881.