Definition: This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
Input: Passage: One such move, in regard to land reform, was to nationalize most farmland and give it to the peasants across Mexico. He also put into effect a national school system that was largely secular to combat church influence in late 1924. After two years the church protested the movement by refusing to give the blessed sacrament to the populace. Some peasants also joined in the protests, adding greater land reforms to the list of demands by the rebelling priests. The rebellion was openly supported by the Catholic Church and received funding, beginning the Cristero War. Meanwhile, in 1927, another military coup was attempted, this time receiving support from land owners. Calles quickly crushed the rebellion with help from the newly mobilized peasant battalions, who later on were used to fight against the Church. In the midst of the mobilized worker's militias, land reform, and anti-church actions, the American government began to openly declare Mexico a Bolshevik regime. To recover from the backlash, Calles began to tone down the radical rhetoric and slowed land reform policies in 1928. A year later, Calles defeated the church ending the rebellion. After the war ended in 1929, supporters of Calles and Obregon began to form a united political party called the National Revolutionary Party or PNR. This was to unite the various revolutionary factions of the civil war to prevent further Cristero revolts and build stability. After a series of interim presidents controlled by the party, Lazaro Cardenas took power in 1934. Cardenas was a socialist and began to base government policy on class struggle and empowering the masses. However, not all of his reforms were completely socialist, making him somewhat more centrist than purely socialist. Regardless, his rule was the most radical phase of the post revolution, social revolution.
Question: How many years went by from the establishment of a national school system until Calles defeated the church and ended the rebellion?
Answer type: Number
Output:
5.