Jerusalem, along with the Middle East, was under Ottoman rule from 1516 to 1917. During this time, the Ottomans controlled the city and its surrounding areas.