In 1522, the Ottomans attacked the island of Rhodes and, after a six-month siege, the Hospitallers surrendered on terms. The Knights Hospitaller had ruled Rhodes since 1309, and the Ottomans had attempted to capture the island 40 years before in 1480, but were defeated by the Knights. The Ottoman victory in 1522 resulted in the Knights being expelled from the island and eventually settling in Malta, Gozo, and Tripoli and the Ottomans obtaining domination over the Eastern Mediterranean and its trade.