RICHMOND, Va. (AP) — -

Testimony has wrapped up in the public corruption trial of former Virginia Gov. Bob McDonnell and his wife, Maureen. Closing arguments are set for Friday morning.

The last witness Thursday was an FBI agent who testified that the McDonnells were together 90 percent of the nights during the 22 months that were the focus of the investigation. The testimony is intended to undercut a defense claim that the McDonnells' marriage was so fractured they couldn't have engaged in a conspiracy.

The McDonnells are charged with taking more than $165,000 in gifts and loans from former Star Scientific Inc. CEO Jonnie Williams in exchange for promoting his company's dietary supplements.

Williams testified under immunity that he spent lavishly on the McDonnells only to secure their help. McDonnell denied criminal wrongdoing.