Question: How many terms did the politician, who drafted the Plan de la Noria, serve as President of Mexico?

<P0-S0>  A veteran of the War of the Reform (1858–60) and the French intervention in Mexico (1862–67), Díaz rose to the rank of General, leading republican troops against the French-imposed rule of Emperor Maximilian. <P0-S1>  Seizing power in a coup in 1876, Díaz and his allies, a group of technocrats known as "Científicos", ruled Mexico for the next thirty-five years, a period known as the "Porfiriato". <P0-S2> José de la Cruz Porfirio Díaz Mori (] ; 15 September 1830 – 2 July 1915) was a Mexican general and politician who served seven terms as President of Mexico, a total of three and a half decades from 1876 to 1880 and from 1884 to 1911. <SEP> <P1-S0>  The French invasion and republican resistance to the French Intervention in Mexico lasted from 1862-67. <P1-S1>  Victorious liberal president Benito Juárez could not implement the envisioned reforms due to a new political threat. <P1-S2>  With the defeat of the conservatives and the execution of Maximilian, Juárez again took up his duties as president. <P1-S3>  No class of individualistic peasants developed with the Liberal program emerged, but many merchants acquired land (and tenant farmers). <P1-S4>  The result was a civil war known as the Reform War or Three Years' War, waged between conservatives and liberals for three years, ending with the defeat of the conservatives on the battlefield. <P1-S5>  The liberals' strategy was to sharply limit the traditional institutional privileges ("fueros") of the Catholic Church and the army. <P1-S6>  Conservatives had sought another route to regaining power, resulting in their active collaboration with Napoleon III's plans to turn the Mexican Empire into a part into the main American ally of the French empire. <P1-S7>  The major goals of this movement were to undermine the power of the Catholic Church in Mexico, separate church and state, reduce the power of the Mexican military, and integrate Mexico's large indigenous population as citizens of Mexico and not a protected class. <P1-S8>  From the liberals' narrow objective to remove a dictator and take power, they expanded their aims to a comprehensive program to remake Mexico governed by liberal principles as embodied by a series of Reform laws and then the Constitution of 1857. <P1-S9>  In this period from 1867 to 1876, often called the "Restored Republic" liberals had no credible opposition to their implementation of the laws of the Reform embodied in the 1857 Constitution. <P1-S10>  The law prohibiting the ownership of land by corporations targeted the holdings of the Catholic Church and indigenous communities - confiscating Church land. <P1-S11>  Many existing landowners expanded their holdings at the expense of peasants, and some upwardly mobile ranch owners, often mestizos, acquired land previously held by communities. <P1-S12>  Mexican conservatives offered the crown of Mexico to Hapsburg archduke Maximilian. <P1-S13> La Reforma (English: The Reform ) or the Liberal Reform was initiated in Mexico following the ousting of centralist president Antonio López de Santa Anna by a group of liberals under the 1854 Plan de Ayutla. <P1-S14>  Indigenous community lands were held by the community as a whole, not as individual parcels. <SEP> <P2-S0> Sebastián Lerdo de Tejada y Corral (] ; 24 April 1823 – 21 April 1889) was a jurist and Liberal president of Mexico, succeeding Benito Juárez who died of a heart attack in July 1872. <P2-S1>  Lerdo was elected to his own presidential term later in 1872 rather than remaining successor due to his previous office of Chief Justice of the Supreme Court. <P2-S2>  Juárez's political rival liberal General Porfirio Díaz had attempted a coup against Juárez, but his Plan de la Noria failed and Díaz eliminated as a political foe during Lerdo's 1872-76 term, giving Lerdo considerable leeway to pursue his program without political interference. <P2-S3>  Lerdo was more successful than Juárez in his final years as president in pacifying the country and strengthening the Mexican state. <P2-S4>  He ran for another term in 1876 and was elected, but was overthrown by Porfirio Díaz and his supporters under the Plan of Tuxtepec, which asserted the principle of no-reelection to the presidency. <P2-S5>  Lerdo died in exile in New York in 1889, but Díaz invited the return of his body to Mexico for burial with full honors. <P2-S6>  Not counting Miguel Miramón, an unrecognized president during the Reform War, he is the first president of the recognized presidents that was not born during Spanish colonial rule. <SEP> <P3-S0> The Plan de la Noria was a revolutionary call to arms with the intent of ousting Mexican President Benito Juárez. <P3-S1>  Neither Juárez, Díaz, nor the third candidate Sebastián Lerdo de Tejada won the majority of votes. <P3-S2>  The vote went to the Mexican Congress which, being full of Juáristas, elected Juárez to his fourth term. <P3-S3>  Díaz proclaimed himself in revolt and drafted the Plan de la Noria in which he demanded electoral freedom and no re-election. <P3-S4>  He gained few supporters and was temporarily defeated in Oaxaca, where his brother Felix was killed Benito Juárez died of a heart attack in July 1872 and Chief Justice Sebastián Lerdo succeeded the presidency, as per the stipulation laid forth in the constitution of 1857. <P3-S5>  Lerdo ran for re-election in 1876 which gave Díaz another chance to revolt, and this time successfully under the Plan de Tuxtepec. <P3-S6>  The plan was drafted by Porfirio Díaz immediately following his defeat by Juárez in the presidential election of 1871.