WASHINGTON —Rep. Trey Gowdy is known as a dogged investigator of Hillary Clinton. Now Democrats wonder whether the South Carolina Republican will pursue President Trump with the same vigor he used in going after the Democratic presidential candidate.

Later this month, Gowdy, 52, is set to become chairman of the powerful House Oversight and Government Reform Committee, where he will lead official scrutiny of the Trump administration, including a budding investigation into possible ties between Russia and Trump’s campaign.

Gowdy led a two-year investigation into the deadly 2012 attacks in Benghazi, Libya, focusing heavily on Clinton’s role as secretary of state. It was the committee’s probe that revealed Clinton used a private email server for government work, prompting an FBI investigation that proved to be an albatross in her campaign.

House Speaker Paul Ryan and other Republicans say the four-term lawmaker and former federal prosecutor is the right man for the job. Democrats are not convinced.

“When push gets to shove, I think Trey’s a reliable partisan and that’s why Ryan picked him,” said Rep. Gerald Connolly, D-Va.

In 2014, House Speaker John Boehner selected Gowdy “as a very junior member to head up the Benghazi panel to go after Hillary Clinton. That was not an accident,” Connolly said. “Having done his duty well, Paul Ryan has now tapped him to head oversight, where your job obviously is to protect the man in the White House. So vigorous oversight is not on the agenda.”

The House Republican Steering Committee on Thursday recommended Gowdy for the chairmanship, replacing Utah Rep. Jason Chaffetz, who is leaving Congress on June 30. Gowdy beat out Oklahoma Rep. Steve Russell. The full House Republican conference is expected to confirm the choice next week.

Rep. Mark Sanford, another South Carolina Republican who briefly considered running for the oversight post, said Gowdy has “a steady prosecutorial mind” and a keen understanding of issues facing the committee.

Sen. Tim Scott, R-S.C., a close friend and former colleague of Gowdy in the House, said “no one works harder and is more committed to the truth and the rule of law than Trey.”

Connolly, a member of the oversight panel, stressed that he likes Gowdy personally and praised his skills as a former prosecutor and lawmaker. But he said Gowdy knows his role in the Republican leadership.

“I don’t think Paul Ryan is worried about that streak of independence showing itself any time soon – and certainly not in the context of Donald Trump and the Russia thing,” he said.

Ryan, in a statement, said Gowdy “possesses the experience and deep commitment to transparency and accountability” needed as oversight chairman. “He has proven that he will always look out for taxpayers and seek answers from the bureaucracy. Trey has my absolute confidence, and I know he will do an outstanding job,” Ryan said.

Gowdy led the Benghazi inquiry from May 2014 through last July. The committee’s 800-page report accused the Obama administration of lethal mistakes, but it produced no “smoking gun” pointing to wrongdoing by Clinton, even as Gowdy threatened to seek a federal investigation into whether she lied to the committee under oath in 2015.

In the end, Gowdy did not sign a perjury complaint against Clinton filed by House Republicans.