Senj (; , , Hungarian and ) is a town on the upper Adriatic coast in Croatia, in the foothills of the Mala Kapela and Velebit mountains. The symbol of the town is the Nehaj Fortress () which was completed in 1558. For a time this was the seat of the Uskoks (), who were Christian refugees from Ottoman Bosnia resettled here to protect the Habsburg borderlands. The Republic of Venice accused the Uskoks of piracy and declared war on them which led to their expulsion following a truce in 1617. Senj is to be found in the Lika-Senj County of Croatia, the Roman Catholic Diocese of Gospić-Senj and the Roman Catholic Archdiocese of Rijeka. History Senj has apparently been inhabited since prehistoric times. A settlement called Athyinites in today's Senj was mentioned in Greek documents dated to 4th century BC. The Illyrian tribe Iapydes inhabited the area as it was located in Illyria. Senia was a thriving town in the Roman province of Dalmatia, used by the Romans as a stronghold against the Illyrians in the 2nd century BC. After the fall of the Roman Empire, the Avars and the Croats eventually settled here in the 7th century AD. The Catholic diocese of Senj was established in 1169. King of Hungary Béla III gave the town to the Knights Templar in 1184, and in 1271 it became the property of the Frankopan counts of Krk. In 1248 the bishop of Senj was allowed by Pope Innocent IV to use the Glagolitic alphabet and the vernacular in liturgy. A Glagolitic printing press was set up in 1494 and produced the incunabula The Glagolic Missal and Spovid općena. 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