The siege of Diu occurred when an army of the Sultanate of Gujarat under Khadjar Safar, aided by forces of the Ottoman Empire, attempted to capture the city of Diu in 1538, then held by the Portuguese. The Portuguese successfully resisted the four months long siege. It is part of the Ottoman-Portuguese war.