In this task, you're given a context, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both context and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the context or linked information.

Context: In 1840, Laredo was the capital of the independent Republic of the Rio Grande, set up in rebellion to the dictatorship of Antonio Lopez de Santa Anna Link Information: anta Anna was an enigmatic, patriotic, and controversial figure who had great power in Mexico during a turbulent 40-year career. He led as general at crucial points and served 12 non-consecutive presidential terms over a period of 22 years. Answer: 22 years.
How long did the dictatorship of the person that Laredo was set up in rebellion to last?