Malta's first navy was built when it was under the Order of Saint John. It was a powerful navy with ships such as the "Santa Anna". The Order participated in various naval exploits against the Ottoman Empire while based in Malta, most notably the Battle of Lepanto of 1571 and the Battle of the Dardanelles of 1656. In the 17th and early 18th centuries Maltese vessels also went for corsairing expeditions against Muslim ships. Eventually corsairing decreased and the Order was weak and bankrupt, so there was little resistance when Napoleon landed on Malta in 1798. The Order's navy, including the ships of the line "San Zaccharia" and "San Giovanni", was integrated into the French navy and Malta no longer had its own naval force.