In alliance with the Ottoman Empire, Britain mounted an expedition to expel the French from Egypt. After careful preparations and rehearsals in Turkish anchorages, a British force under Sir Ralph Abercromby made a successful opposed landing at the Battle of Abukir (1801). Abercromby was mortally wounded at the Battle of Alexandria, where the British troops demonstrated the effectiveness of their musketry, improved discipline and growing experience. The French capitulated and were evacuated from Egypt in British ships.