“I’ve got to give him a lot of credit, he ran a very good campaign. I think Tim Burns is our candidate for November and I feel very good,” BoehnerJohn Andrew BoehnerRestoring fiscal sanity requires bipartisan courage GOP congressman slams primary rival for Ryan donations Speculation swirls about Kevin McCarthy’s future MORE said.

It was the seventh special election Republicans have lost since President Barack ObamaBarack Hussein ObamaOvernight Energy: Dems ask Pruitt to justify first-class travel | Obama EPA chief says reg rollback won't stand | Ex-adviser expects Trump to eventually rejoin Paris accord Overnight Regulation: Trump to take steps to ban bump stocks | Trump eases rules on insurance sold outside of ObamaCare | FCC to officially rescind net neutrality Thursday | Obama EPA chief: Reg rollback won't stand Ex-US ambassador: Mueller is the one who is tough on Russia MORE took office. Republicans had tried to make the race about Obama and Speaker Nancy Pelosi (D-Calif.), who are unpopular in the district. But Democrat Mark Critz, a former Murtha staffer, prevailed with comfortable margins, winning with 53 percent to Burns's 45 percent.

Boehner explained that his party has had a tough time winning these special elections given “the financial disadvantage we have now,” noting that “we’ve got to do better.”

The NRCC has struggled with fundraising this cycle, and the Republican National Committee has promised to add its resources to help the party win back control of Congress.

GOP leaders have predicted that their party will win back control of the House in November. Boehner has said that at least 100 seats are “competitive.” Republicans would need to win 40 seats to win the majority.

Boehner pinned GOP chances to the Republicans' so-called “agenda project,” an effort to produce a list of agenda items his party would pursue if they reclaim control of the lower-chamber, based loosely on 1994's Contract with America.

Deputy GOP Whip Kevin McCarthy (R-Calif.) was tasked to lead the effort by “listening to the American people.” Boehner said details would be revealed “this week or next” about the listening aspect, while the actual rollout of the project would not happen until after Labor Day.

“We’re going to work hard, work with the American people and earn the trust of the people because that’s the way we win back the majority,” Boehner said.