The military captaincy of Senj was established in 1469 in order to defend against the invading Ottoman and Venetian armies. The town sheltered thousands of refugees from nearby occupied areas. The Nehaj Fortress was completed in 1558 on the hill Nehaj, which at the time was outside of town. Today it is wholly within the town's borders. The wars with the Ottomans lasted well into the 17th century. During this time the Uskoks lived in Senj and occupied the fortress. They served an important purpose during the wars since they had small units of men rowing swift boats that proved to be very effective guerrilla forces. However, after the Uskok War with Venice, which ended in 1617, they were forbidden to settle in the area. Prince Radic was appointed Prince of Senj by king Rudolf emperor of Austria (1 December 1600). (Radic family) Native noble family from Lika region; members of the family were Uskok military leaders at the headquarters in Senj.