In 1578 Archduke Charles II decided to respond to Ottoman attacks with an offensive to push the frontier back to the Una River.[9] The offensive began in August and the joint Austrian-Croatian troops took back Cazin, Zrin, and Ostrovica, but they were stopped at Bužim and pushed back to the north, losing all gains.