FILE - In this June 18, 2014 file-pool photo, detainees walk in a line at a U.S. Customs and Border Protection processing facility in Brownsville,Texas. Hours after the Supreme Court sent his immigration policy into legal limbo, President Barack Obama huddled around a long conference table in the Roosevelt Room with disappointed activists. The president looked out at familiar faces, some teary. It had been a long and tough fight, Obama said, and he had taken some beatings, even from supporters who “whupped on me good.”  (AP Photo/Eric Gay, Pool, File)
FILE - In this June 18, 2014 file-pool photo, detainees walk in a line at a U.S. Customs and Border Protection processing facility in Brownsville,Texas. Hours after the Supreme Court sent his immigration policy into legal limbo, President Barack Obama huddled around a long conference table in the Roosevelt Room with disappointed activists. The president looked out at familiar faces, some teary. It had been a long and tough fight, Obama said, and he had taken some beatings, even from supporters who “whupped on me good.” (AP Photo/Eric Gay, Pool, File) Credit: Eric Gay

President Obama’s inability to overhaul the nation’s immigration system will stand as the most glaring failure in his effort to enact a vision of social change. Despite two campaigns full of promises and multiple strategies, he imposed only incremental, largely temporary modifications.

When his presidency ends in January, Obama will leave behind an outdated and overwhelmed system, with some 11 million people living in the U.S. illegally.

The missed goal is part of a legacy that included a sometimes contradictory mix of policies – some aimed at bringing immigrants “out of the shadows,” others at removing them from the U.S.

Obama will be remembered for protecting 730,000 young people, a generation of so-called Dreamers, who were brought to the U.S. as children. Advocates and allies will credit him with embracing a newly aggressive assertion of executive power that, despite last week’s Supreme Court deadlock and political opposition, remains a legal pathway for the next president. And he will go down as a leader who consistently defended the importance of immigrants in American life, as anti-immigrant sentiment swelled up in parts of the U.S. and abroad.

“Immigration is not something to fear,” Obama said last week. “We don’t have to wall ourselves off from those who may not look like us right now or pray like we do, or have a different last name.”

But Obama also will be remembered as a president who prioritized other issues, missing perhaps the best chance to pass sweeping legislation and only reluctantly adjusting his strategy in the face of firm opposition.

And his administration aggressively enforced current laws, deporting more than 2.4 million people. The total is nearly as many as his two predecessors combined.