Task: Question Generation
Input (English): On 1 April 1911, Porfirio Diaz claimed that he had heard the voice of the people of Mexico, replaced his cabinet, and agreed to restitution of the lands of the dispossessed. Madero did not believe this statement and instead demanded the resignation of President Diaz and Vice-President Ramon Corral. Madero then attended a meeting with the other revolutionary leaders- they agreed to a fourteen-point plan which called for pay for revolutionary soldiers; the release of political prisoners; and the right of the revolutionaries to name several members of cabinet. Madero was moderate, however. He believed that the revolutionaries should proceed cautiously so as to minimize bloodshed and should strike a deal with Diaz if possible. In May, Madero wanted a ceasefire, but his fellow revolutionaries Pascual Orozco and Francisco Villa disagreed and went ahead with an attack on Ciudad Juarez. The revolutionaries won this battle decisively and on 21 May 1911, the Treaty of Ciudad Juarez was signed. Under the terms of the Treaty of Ciudad Juarez, Diaz and Corral agreed to resign by the end of May 1911, with Diaz's Minister of Foreign Affairs, Francisco Leon de la Barra, taking over as interim president solely for the purpose of calling general elections. This first phase of the Mexican Revolution thus ended with Diaz leaving for exile in Europe at the end of May 1911. On 7 June 1911, Madero entered Mexico City in triumph where he was greeted with huge crowds shouting "Viva Madero!"
Output (English): What happened second, Díaz leaving for exile in Europe or Díaz claiming that he had heard the voice of the people of Mexico?