The fate of almost a million people brought to the country illegally as children, known as "Dreamers," is now in the hands of the U.S. Supreme Court.

The court granted an appeal to the Trump administration's decision to end the DACA program, or Deferred Action for Childhood Arrivals.

The Obama-era program to protect "Dreamers" will get a one-hour hearing before the high court next term. The court said it would consolidate three appeals into one argument.

The program provided temporary legal status and protection from deportation for nearly 800,000 young people who were brought to the U.S. without legal papers when they were children.

President Trump sought to revoke their protected status in 2017, seven months after taking office. The administration claimed in court that it could revoke the "Dreamers'" status anytime because the original Obama program was illegal. It also asserted that the courts had no power to review its decision.

Four federal appeals court subsequently rejected those arguments, and the Supreme Court earlier this month refused to expedite high court consideration of the cases.

Now, the court will hear arguments next term, with a decision expected a year from now — just as the 2020 presidential election will be kicking into high gear.

While public approval for "Dreamers" is high — in the 80% in most public opinion polls — the issues in the case are tricky. Were the administration willing to concede that President Obama acted legally in enacting the program, the Trump administration could rescind the program as long as it provided a good reason and followed the rules for such a policy reversal.

But the administration has hinged its legal position on its contention that Obama acted illegally. And that is a tough sell, given that other administrations of both parties have used deferred action to permit certain large categories of people to remain in the United States.

The DACA controversy has also been intertwined with politics. President Trump sought to use the program as a bargaining chip to get Democrats to agree to build a wall along the U.S.-Mexico border. And when that failed, and the administration still maintained that DACA was illegal, the administration's push to get the the case into the Supreme Court earlier was seen by some critics as an effort to shift the blame for an unpopular act onto the court.

The question of what to do about the "Dreamers" was intensely debated within the Trump administration in the summer of 2017. John Kelly, then the secretary of Homeland Security, twice declined to close down the program.

The president's daughter, Ivanka, and his son-in-law, Jared Kushner, were both said to be DACA supporters, and the president himself had often spoken approvingly about "Dreamers," calling them "great kids," and expressing his "love" for them.

Copyright 2019 NPR. To see more, visit https://www.npr.org.