SUSSEX, Va. (WVEC) -- The mayor of Waverly was back in court on Wednesday.

Walter Mason is facing 12 felony counts of election fraud.

He was elected mayor in 2010 and re-elected in 2012. He lost in 2014, but was elected again in 2016, finishing just 44 votes ahead of his nearest challenger.

See Also: Waverly mayor indicted on felony charges of election fraud

Prosecutors claim Mason helped voters fill out absentee ballots, and that there were inaccuracies on those ballots.

During Wednesday's hearing in Sussex County, Mason's lawyer, Joe Morrissey, argued that helping someone fill out an application for an absentee ballot -- or even helping fill out a ballot -- is not illegal.

Morrissey asked for the Commonwealth to provide a bill of particulars, with everything Mason is alleged to have done that broke the law. The judge granted that motion.

"I've looked at the state police reports, and I am at a loss as to what Walter did wrong," Morrissey said.

"I'm just looking forward to the trial and getting all of this stuff behind me," the mayor said. "Everyone that voted for me have always been my supporters, so I am just looking forward to just moving on and doing the work of the town."

A trial date was set for August 18.

WRIC 8News in Richmond contributed to this report.