Kruja is a town located 20 km north of the capital of Albania, Tirana. It was originally inhabited by the ancient Illyrian tribe of Albani and later served as the capital of the first autonomous Albanian state in the Middle Ages and the Kingdom of Albania. Kruja was conquered by the Ottoman Empire in the early 15th century but recaptured by Skanderbeg, who successfully defended it against three Ottoman sieges until his death in 1468. The Ottomans took control of the town after the fourth siege in 1478. Today, Kruja is home to a famous castle and the National Skanderbeg Museum located within the castle walls.