 Ferdinand was installed as the actual ruler of the Inner Austrian provinces in 1596 and 1597.His cousin Rudolph II also charged him with the command of the defense of Croatia, Slavonia and southeastern Hungary against the Ottoman Empire.Ferdinand regarded the regulation of religious issues as a royal prerogative, and introduced strict Counter-Reformation measures from 1598.