WASHINGTON (TheBlaze/AP) — President Barack Obama said Saturday that the surge of immigrant children entering the U.S. illegally changed the politics surrounding the immigration issue and led him to put off a pledge to use executive action that could have shielded millions of people from deportation.

Immigration reform advocates criticized Obama after White House officials said that the president would not act at summer’s end as he promised in June but would take up the matter after the midterm elections in November. In an interview taped for NBC’s “Meet the Press,” Obama rejected the charge that the delay was meant to protect Democratic candidates worried that his actions would hurt their prospects in tough Senate races.

By Obama’s own calculations, politics did play a role in his decision. In his remarks to NBC, which were to be aired on Sunday, he said a partisan fight in July over how to address an influx of unaccompanied minors at the border had created the impression that there was an immigration crisis and thus a volatile climate for taking the measures he had promised to take.