Battle of Marj Dabiq
The Ottomans conquered Mamluk Syria following their victory at the Battle of Marj Dabiq in northern Syria in 1516. Safed's inhabitants sent the keys of the town citadel to Sultan Selim I after he captured Damascus. No fighting was recorded around Safed, which was bypassed by Selim's army on the way to Mamluk Egypt. The sultan had placed the district of Safed under the jurisdiction of the Mamluk governor of Damascus, Janbirdi al-Ghazali, who defected to the Ottomans. Rumors in 1517 that Selim was slain by the Mamluks precipitated a revolt against the newly-appointed Ottoman governor by the townspeople of Safed, which resulted in wide-scale killings, many of which targeted the city's Jews, who were viewed as sympathizers of the Ottomans. Safed became the capital of the Safed Sanjak, roughly corresponding with Mamlakat Safad but excluding most of the Jezreel Valley and the area of Atlit, part of the larger province of Damascus Eyalet.