The Battle of Marj Dābiq was a decisive military engagement in Middle Eastern history, fought on 24 August 1516, near the town of Dabiq. The battle was part of the 1516–17 war between the Ottoman Empire and the Mamluk Sultanate, which ended in an Ottoman victory and conquest of much of the Middle East, bringing about the destruction of the Mamluk Sultanate. The Ottomans win a decisive victory over the Mamluks, due to their large numbers and use of modern military technology such as firearms. Sultan al-Ghawri is killed, and the Ottomans gain control of the entire region of Syria and opened the door to the conquest of Egypt.