Shortly before he assumed the throne, the Ottomans suffered a major defeat at the second Battle of Mohács in 1687. In 1688, Suleiman II urgently requested the Mughal Emperor Aurangzeb for assistance against the rapidly advancing Austrians, during the Ottoman–Habsburg War, but most Mughal forces were engaged in the Deccan Wars and Aurangzeb ignored Suleiman's request to commit to any formal assistance to their desperate Ottoman allies.