At the beginning of the 1948 Arab–Israeli War, Egypt took control of Hebron. Between May and October, Egypt and Jordan tussled for dominance in Hebron and its environs. Both countries appointed military governors in the town, hoping to gain recognition from Hebron officials. The Egyptians managed to persuade the pro-Jordanian mayor to support their rule, at least superficially, but local opinion turned against them when they imposed taxes. Villagers surrounding Hebron resisted and skirmishes broke out in which some were killed. By late 1948, part of the Egyptian forces from Bethlehem to Hebron had been cut off from their lines of supply and Glubb Pasha sent 350 Arab Legionnaires and an armoured car unit to Hebron to reinforce them there. When the Armistice was signed, the city thus fell under Jordanian military control. The armistice agreement between Israel with Jordan intended to allow Israeli Jewish pilgrims to visit Hebron, but, as Jews of all nationalities were forbidden by Jordan into the country, this did not occur.