GOP Rep. Steve King declared Thursday that former Secretary of State Hillary Clinton is somebody he could work with if she wins the general election in November.

King made the remark at the Iowa State Fair on Thursday morning, according to the Des Moines Register, telling attendees at the newspaper's soapbox that while he rejects much of her agenda, they could work together behind closed doors and away from the media.

"If it's Hillary Clinton, we don't agree on very much. So you'll probably see me become a vocal member of Congress if you should elect me to go back to Washington after November. So I'll try to break out of my shell if I have to do battle with an agenda I reject," King said, according to the Register.

"But I know that I've sat across the table with Hillary Clinton eye-to-eye and when you're working outside of staff and outside of the press, she is somebody I can work with," King said.

King's comments come only three days after he officially endorsed Trump and vice presidential nominee Mike Pence while introducing the Indiana governor at an event in Sioux City, Iowa.

"I'm walking into those polls and I'm going to vote for Donald Trump and Mike Pence for our new administration," King told supporters of the GOP ticket. "And I'm going to do my best to bring others with me."

King was a constant presence on the campaign trail this year, having stumped for Sen. Ted Cruz ahead of the Iowa caucuses and throughout his campaign before the Texas senator dropped out following his Indiana primary loss in May.