WASHINGTON — President Trump used his State of the Union address to inform a Philadelphia fourth-grade girl that she can finally join a new school.

Trump told Janiyah Davis on Tuesday night, who was in attendance with her mother, that she would receive an “Opportunity Scholarship” to attend a new public or private school.

“Janiyah, I have some good news for you because I am pleased to inform you that your long wait is over,” Trump told Davis, who sat in the spectator gallery section anchored by first lady Melania Trump.

“I can proudly announce tonight that an Opportunity Scholarship has become available, it is going to you, and you will soon be heading to the school of your choice!” Trump said.

The audience erupted in applause as Janiyah hugged her mother Stephanie Davis. Another guest, the U.S.-recognized interim president of Venezuela Juan Guaido, turned to applaud, though only some Democrats in the audience did.

The precise mechanism of the scholarship award was not clear. According to Trump’s remarks, 18 states have adopted Opportunity Scholarship programs. In Pennsylvania, the state Department of Education accepts applications for the program.

Trump awarded Davis the scholarship to encourage federal legislation allowing students to change schools. He also blasted Pennsylvania Gov. Tom Wolf, a Democrat, who Trump said “vetoed legislation to expand school choice for 50,000 children,” alleging that Davis’s “future was put further out of reach” by Wolf.

According to a brief biography distributed by the White House, Janiyah Davis “loves art and math, but for too long she has been assigned to low-performing schools.”

Trump called on lawmakers to pass legislation expanding the ability of students to relocate if their school is of poor quality.

“I call on the Congress to give 1 million American children the same opportunity Janiyah has just received,” Trump said. “Pass the Education Freedom Scholarships and Opportunity Act — because no parent should be forced to send their child to a failing government school.”