The island of Malta was occupied by the Knights of St John, also known as the Knights Hospitaller, from 1530 to 1798. During their rule, the Knights transformed Malta into a fortress island, building numerous fortifications and strengthening existing ones to defend against attacks from the Ottoman Empire. The Knights also played a significant role in the Battle of Malta in 1565, when they successfully defended Malta against the Ottoman Empire's invasion.