The islands were given to the Order of St. John in 1530, who ruled them as a vassal state of Sicily. In 1565, the Ottoman Empire attempted to take the islands in the Great Siege of Malta, but the invasion was repelled. The Order continued to rule Malta for over two centuries, and this period was characterized by a flourishing of the arts and architecture and an overall improvement in society. The Order was expelled after the French First Republic invaded the islands in 1798, marking the beginning of the French occupation of Malta.