Former Gov. Bob McDonnell’s lawyers have filed motions challenging the federal indictment against him on charges of wire fraud, bank fraud, extortion and conspiracy.

The Virginia Republican’s legal team argued Tuesday that what he did was no different than President Barack Obama trading official appointments for political gifts, reports Politico.

“The President routinely participates in corporate events which lend credibility to his major benefactors, invites benefactors to events at the White House, allows his photo to be taken with benefactors, and includes benefactors in policy discussions with senior administration officials,” McDonnell lawyers John Brownlee and Henry Asbill wrote in the motion, filed shortly after the indictment.

“Politics is replete with examples of major benefactors receiving more substantial government benefits than anything suggested here,” they added.

The motion also points out that Obama has appointed some top Democratic fundraisers to key ambassadorships and has made appearances at the offices of major donors, including DreamWorks CEO Jeffrey Katzenberg.