Pennsylvania State Sen. Scott Wagner announced Wednesday that he will resign from State Senate seat next week to focus on the race for governor.

Wagner received the Republican nomination on May 15 for the November general election. He will formally resign Monday, June 4 at 11:59p.m., according to the statement he sent to Senate President Pro Tempore Joseph Scarnati.

"It has been an honor to represent the residents of York County for the past four years," Wagner said in the statement.

"Since Tom Wolf has taken office there has been nothing but gridlock in Harrisburg," added Wagner's campaign spokesman, Andrew Romeo. "Scott realizes that the way he can bring about the most change and do the most good for the commonwealth is to devote all his time and energy toward getting elected governor and giving Pennsylvanians a different choice."

Wagner, who was first elected in 2014 on a write-in campaign, serves the 28th Senate District in York County. He will face Gov. Tom Wolf, who is seeking a second term. Wolf's campaign released a statement Wednesday evening criticizing the move, calling Wagner "the very worst of Harrisburg" after he missed recent Senate voting sessions.

"Scott Wagner is only interested in furthering his own political ambitions, but his resignation not erase his long record of supporting education cuts for our children, rolling back health care for hundreds of thousands of Pennsylvanians, and throwing seniors out of their nursing homes," said Beth Melena, communications director for the Wolf campaign.