 Ottoman advances into Croatian territory continued until the 1593 Battle of Sisak, the first decisive Ottoman defeat, which led to a more lasting stabilisation of the frontier.As the Ottoman control of the area waned, the Military Frontier expanded to include the entirety of Lika.In 1881, that region was incorporated into the Kingdom of Croatia-Slavonia, together with Gorski Kotar, which remained a part of the Kingdom of Croatia throughout the Croatian–Ottoman Wars.