Treaty of Karlowitz
The Ottoman Empire retreated from the region after the signature of 1699 Treaty of Karlowitz. The region became a part of the Kingdom of Slavonia and Slavonian Military Frontier both of which will unite with the Kingdom of Croatia-Slavonia.