The siege of Jerusalem lasted from September 20 to October 2, 1187, when Balian of Ibelin surrendered the city to Saladin.