The "Desafuero" of Andrés Manuel López Obrador was the removal of López Obrador's state immunity from prosecution, in his role as Mayor of Mexico City. It took place during 2004 and 2005. This process was originated by a land owner who sued the Federal District's government on the grounds of improper expropriation of a patch of land called "El Encino". This case became a serious issue for López Obrador in 2005, when a vote by the Chamber of Deputies lifted his constitutional immunity against criminal charges. If officially charged, he would have lost all his civil rights, including the right to run for the presidency in 2006, unless he was either quickly acquitted of all charges or managed to serve his sentence before the electoral registration deadline.