The capture of Muscat occurred in 1552, when an Ottoman fleet under Piri Reis attacked Old Muscat, in modern Oman, and plundered the town from the Portuguese. These events followed the important Ottoman defeat in the third siege of Diu in 1546, which put a stop to their attempts in India, but also the successful capture of Aden in 1548, which allowed the Ottomans to resist the Portuguese in the northwestern part of the Indian Ocean.