After a failed attempt to conquer Rhodes from the Knights of St. John, Ahmed successfully took the Italian harbor city of Otranto in 1480. However, due to lack of food and supplies, he had to return with most of his troops to Albania in the same year, planning to continue the campaign in 1481.