Mexico City - Mexican President Felipe Calderon Thursday called the withdrawal of legislation to overhaul US immigration law from consideration in the US Senate “a grave mistake.”

Calderon said the US Senate is avoiding “giving a sensible, rational, legal solution to the immigration problem” and opening the door to illegal immigration.

“It is a problem that is not being faced and, with this evasive answer from the US Senate, it simply gets worse,” Calderon said, in a joint press conference with Nicaraguan President Daniel Ortega in Mexico City.

The Mexican president said the decision sacrifices “the chances for the development of millions of people and families” and deteriorates the competitiveness of the US economy.

“The US economy could not prosper and could not move forward without the manpower of migrants both from Mexico and from Central America,” Calderon said.

The immigration reform bill failed to gather enough votes to move forward. It could have led to the legalization of some 12 million illegal immigrants.