Task: Question Generation
Input (English): Passage: In July 1192, Saladin's army suddenly attacked and captured Jaffa with thousands of men, but Saladin lost control of his army due to their anger for the massacre at Acre. It is believed that Saladin even told the Crusaders to shield themselves in the Citadel until he had regained control of his army. Richard had intended to return to England when he heard the news that Saladin and his army had captured Jaffa. Richard and a small force of little more than 2,000 men went to Jaffa by sea in a surprise attack. Richard's forces stormed Jaffa from their ships and the Ayyubids, who had been unprepared for a naval attack, were driven from the city. Richard freed those of the Crusader garrison who had been made prisoner, and these troops helped to reinforce the numbers of his army. Saladin's army still had numerical superiority, however, and they counter-attacked. Saladin intended a stealthy surprise attack at dawn, but his forces were discovered; he proceeded with his attack, but his men were lightly armoured and lost 700 men killed due to the missiles of the large numbers of Crusader crossbowmen. The battle to retake Jaffa ended in complete failure for Saladin, who was forced to retreat. This battle greatly strengthened the position of the coastal Crusader states. On 2 September 1192, following his defeat at Jaffa, Saladin was forced to finalize a treaty with Richard providing that Jerusalem would remain under Muslim control, while allowing unarmed Christian pilgrims and traders to visit the city. Ascalon was a contentious issue as it threatened communication between Saladin's dominions in Egypt and Syria; it was eventually agreed that Ascalon, with its defences demolished, be returned to Saladin's control. Richard departed the Holy Land on 9 October 1192.
Output (English): How many months was it between Saladin's army capturing Jaffa and Richard departing the Holy Land?