The Ottoman Empire ended when the last Sultan Mehmed VI was exiled to Malta on a British warship.
Source