A unanimous Supreme Court on Monday overturned the corruption conviction of former Virginia Gov. Bob McDonnell in a ruling that will make it harder to prosecute elected officials accused of bribery.

The justices ruled the jury received faulty instructions about what constitutes bribery under federal law.

McDonnell was convicted in 2014 of accepting more than $165,000 in gifts and loans from a wealthy businessman in exchange for promoting a dietary supplement.

Lawyer Noel Francisco, who argued McDonnell's winning appeal, sat down Monday afternoon with News4's Julie Carey. He said the decision vindicated the former governor.

"It shows that what we've said from the beginning is correct, that Governor McDonnell never crossed that line into committing a criminal violation," Francisco said.

McDonnell thanked the Supreme Court justices in a statement issued Monday afternoon.

"I express my heartfelt gratitude to the justices of the United States Supreme Court for the time and attention they have given to the law in my case," he said. "Today, a unanimous United States Supreme Court Vacated my convictions, and it is a day in which my family and I rejoice and give thanks."

McDonnell said he never took any official action to benefit Star Scientific Inc. CEO Jonnie Williams or pressured other public officials to do so. McDonnell said he simply performed routine courtesies for Williams, like setting up meetings and hosting events.

Prosecutors said McDonnell accepted personal benefits with the understanding he would try to take official action to help Williams.

A jury in 2014 found McDonnell guilty of breaking a law that bars public officials from taking gifts in exchange for "official action.'' He was sentenced to two years in prison, but remained free while the high court considered his appeal.

There is no dispute that McConnell received multiple payments and gifts from Williams, which was not illegal at the time under Virginia ethics laws. But McDonnell said he did nothing in return except help a constituent reach out and make his pitch to other public officials.

Chief Justice John Roberts said the law cannot punish politicians for giving their constituents access to public officials who are willing to listen, but don't actually exercise government power. He said setting up a meeting, talking to another official or organizing an event does not meet the definition of an official act under the law.

The gifts included nearly $20,000 in designer clothing and accessories for McDonnell's wife, a $6,500 engraved Rolex watch, $15,000 in catering for their daughter's wedding, and free family vacations and golf trips for their boys. Williams also provided three loans totaling $120,000.

As the gifts came in, McDonnell helped set up meetings with state health officials, appeared at promotional events and even hosted a launch luncheon for the dietary supplement at the governor's mansion. Williams was seeking state money and the credibility of Virginia's universities to perform clinical research that would support his company's drug.

McDonnell insists that he never put any pressure on state officials and that Williams ultimately never got the official action he wanted - state funding for medical studies on the dietary pills. The former governor argued the Justice Department was unfairly criminalizing "everyday acts'' that are a typical part of job, leaving every public official across the nation subject to the whims of prosecutors.

A federal appeals court unanimously upheld the former governor's convictions last year.

"You don't put somebody in jail simply because you think they did something that you don't like," Francisco said. "We've got very high standards before the federal government can put somebody in jail, and what the Supreme Court said today was that those standards don't come close to the type of conduct that the government believes was at issue here."

The U.S. Attorney for the Eastern District of Virginia, Dana J. Boente, said in a statement: “The U.S. Attorney’s Office is reviewing the Supreme Court’s decision in the McDonnell matter and does not have any further comment at this time.”

Democratic state Sen. Chap Petersen was one of the first to call for McDonnell's resignation when news of the gifts broke. He later worked on legislation to tighten gift rules. Still, he said the case should be concluded.

"What he did was wrong. It wasn't criminal. And I think that's what the Supreme Court said today," Petersen said.

McDonnell's wife, Maureen, also was convicted of corruption and was sentenced to one year and one day in prison. Her appeal was on hold as the Supreme Court considered her husband's case.

Legal analysts told News4 they expect Maureen McDonnell's conviction to also be vacated.

"It is my hope that this matter will soon be over and that my family and I can begin to rebuild our lives," Bob McDonnell said in his statement.