President Donald Trump on Wednesday blasted House Speaker Paul Ryan (R-Wis.) after the lawmaker rejected the president’s claim that he has the power to end birthright citizenship.

“Paul Ryan should be focusing on holding the Majority rather than giving his opinions on Birthright Citizenship, something he knows nothing about!” Trump tweeted.

Paul Ryan should be focusing on holding the Majority rather than giving his opinions on Birthright Citizenship, something he knows nothing about! Our new Republican Majority will work on this, Closing the Immigration Loopholes and Securing our Border! — Donald J. Trump (@realDonaldTrump) October 31, 2018

Despite an at-times rocky relationship, Trump has ― at least publicly ― appeared to be on good terms with Ryan in recent months. After the Republican House leader announced in April that he would not seek re-election, Trump praised Ryan as “a truly good man” with a “legacy of achievement.”

But Ryan’s defiant comments on Tuesday stating Trump “obviously cannot” end birthright citizenship by signing an executive order clearly struck a chord with the president.

“You know, as a conservative, I’m a believer in following the plain text of the Constitution, and I think in this case the 14th Amendment is pretty clear, and that would involve a very, very lengthy constitutional process,” Ryan told Kentucky’s WVLK radio station on Tuesday.

Under the 14th Amendment, citizenship is granted to all people born in the U.S., even if their parents aren’t citizens, a concept known as “birthright citizenship.” The mainstream legal consensus is that a constitutional amendment would be required to change that.

Hours earlier on Wednesday, Trump reiterated his desire to end birthright citizenship, claiming “many scholars agree” the practice is not protected by the 14th Amendment.

Story continues

“So-called Birthright Citizenship, which costs our Country billions of dollars and is very unfair to our citizens, will be ended one way or the other,” he tweeted. “This case will be settled by the United States Supreme Court!”

Although Ryan signaled his opposition to an executive order to end birthright citizenship, the speaker did not offer any possible repercussions for Trump if he proceeded with such an order.

Ryan’s office did not immediately respond to HuffPost’s request for comment.

Related...

Donald Trump Vows To End Birthright Citizenship

Paul Ryan Rejects Trump's Claim He Can End Birthright Citizenship

Jimmy Kimmel Turns Donald Trump Birthright Vow Into Savage Burn

Love HuffPost? Become a founding member of HuffPost Plus today.

This article originally appeared on HuffPost.