Gov. Paul LePage never acted on his threat to withhold money from a charter school when he urged the nonprofit to fire his political rival as its president last year, a lawyer for the state’s chief executive said in federal court Wednesday.

Attorney Patrick Strawbridge argued in U.S. District Court in Portland that LePage was making a legally protected political statement when he successfully convinced the Good Will-Hinckley school to fire House Speaker Mark Eves. He said LePage therefore has immunity from a lawsuit brought against him by Eves and asked Judge George Singal to dismiss the case.

“I don’t think there is any question that the funding in dispute were all future funds,” Strawbridge said told the judge.

Strawbridge made that argument as Eves’ high-profile case against LePage made it into the courtroom for the first time since he filed the lawsuit last July. LePage is seeking to have the case dismissed outright on grounds he is protected by immunity and his First Amendment free speech rights, before any evidence is presented in the case.

Eves has accused LePage of using taxpayer money and the power of his office to prevent Eves’ hiring as president of Good Will-Hinckley, a nonprofit in Fairfield that operates a charter school partly funded by the state. Eves contends LePage’s actions violated several of Eves’ constitutional rights, including his First Amendment rights of free speech, free association and political affiliation, as well as his 14th Amendment right to due process.

Eves’ attorney, David Webbert, argued that the judge should allow the case to proceed to trial specifically because the Republican governor sought to withhold up to $1 million in state funding from Good Will-Hinckley if it didn’t fire Eves and that he wasn’t immune because he sought to discriminate against Eves because of his party affiliation.

“Folks that have at-will employment still can’t be fired because of their race or their political affiliation,” Webbert said. He added that Eves’ contract afforded him even more protection, since it stated he could only be fired for cause.

Singal made no immediate ruling on LePage’s motion to dismiss the lawsuit but said he would try to issue an order in the “very near future.”

Eves claims that Good Will-Hinckley’s board of directors voted June 24 to rescind its offer to hire him as president only after LePage threatened to eliminate $530,000 in state funding for the school.

An amended complaint filed on Dec. 18 by Webbert quotes LePage’s statements to a reporter on June 29, when asked whether he “threatened to withhold money” from Good-Will Hinckley for hiring Eves.

“Yeah, I did! If I could, I would! Absolutely. Why wouldn’t I? Tell me why I wouldn’t take the taxpayer money, to prevent somebody to go into a school and destroy it. Because his heart’s not into doing the right thing for Maine people,” the lawsuit quotes LePage as saying to the reporter.

It also quotes the governor’s statements in a radio interview on July 30, the day Eves initially filed the lawsuit, when LePage answered a question about why he intervened in the school’s hiring of Eves.

“I’ll tell you what my mindset was. This guy is a plant by the unions to destroy charter schools. … I believe that’s what his motive is. … That man had no heart,” the lawsuit quotes LePage as saying. “It is just like one time I stepped in when a domestic violence, when a man was beating his wife. Should I have stepped in? Legally, no. But I did. And I’m not embarrassed about doing it.”

If LePage’s motion to dismiss the lawsuit is unsuccessful, it is unlikely that the case will reach trial before 2017 and could affect his second-term agenda. The governor’s efforts to advance his policies already have been hampered by his estrangement from the Legislature, even though his own party controls the Senate.

This story will be updated.