The Kingdom of Jerusalem built fortresses along the road to Jerusalem in order to control the traffic to Jerusalem, and protect pilgrims visiting the Holy City. Farms were built using the spring water for irrigation.[citation needed]