A Senate committee on Tuesday considered President Trump’s nominee to fill a vacancy on the Federal Election Commission. If the nominee is confirmed, it would restore the agency’s ability to conduct official business as the primary elections advance.

The Senate Rules Committee’s rare public hearing on a nominee for the FEC, James E. “Trey” Trainor III, served as the first step to confirm the conservative Texas lawyer, whose nomination has languished for three years.

In August, the FEC lost the ability to do its official job after the resignation of a commissioner left it unable to operate for the first time in 11 years, without its necessary four-person quorum.

Trainor has been nominated three times to the position since 2017, but he remained in limbo amid controversy over his social media postings and a standstill among Senate leaders on the logistics of appointing commissioners.

It remains unclear whether Trainor will be confirmed. The Rules Committee has not yet scheduled its vote to move his nomination to the full Senate. On Thursday, party leaders in the Senate remained split on Trainor’s nomination.

Trainor, an Austin-based elections lawyer, has pushed for less regulation of money in politics and fought efforts to require politically active nonprofit organizations to disclose their donors. Senate Minority Leader Charles E. Schumer (D-N.Y.) attended the hearing to raise concerns about Trainor’s past comments on limiting donor disclosure. Government transparency groups widely oppose Trainor’s confirmation.

Senators asked Trainor his role in redistricting and gerrymandering cases in Texas and his views on the enforcement role of the FEC.

When asked about Russian interference in the 2016 presidential election, Trainor did not mention Russia but acknowledged that “there has been foreign interference in our elections, and I believe there is still the potential for our elections to be targeted by foreign entities.”

Democratic senators asked whether he would recuse himself in cases involving President Trump, given his previous role advising the Republican National Committee and Trump during the 2016 election.

Trainor said he would not apply a “blanket recusal” but that he would consult the FEC’s ethics advisers to recuse from certain cases if necessary, noting that that is a standard process for commissioners.

Senate Majority Leader Mitch McConnell (R-Ky.), who has called for a full slate of six new FEC commissioners, said he supported restoring the quorum, reestablishing party balance among commissioners, and bringing the agency one step closer to having six new commissioners.

The three commissioners are Republican Caroline Hunter, whose term expired in 2013; Democrat Ellen Weintraub, whose term expired in 2008; and Steven Walther, an independent who often caucuses with the Democrats, whose term expired in 2009. Under federal law, no more than three FEC commissioners can be from the same party, and the panel typically has been split equally along party lines.

McConnell said he wishes to see “a clean slate of commissioners, all serving on real, unexpired terms, to bring new energy, build new relationships and inject some new perspective.”

Senate Democrats had pushed for restoring the quorum, and for upholding an unwritten tradition of appointing a pair of commissioners — one from each party — at a time. Senate Democrats said they vetted and recommended Shana Broussard, an FEC attorney, to the panel. But there has not yet been a formal nomination sent to the Rules Committee.