An Albany County judge on Friday denied a dismissal motion by former Sen. George Maziarz, setting up a trial on fraud charges in August.

“We look forward to proving our felony corruption charges against Mr. Maziarz in court next month,” said Amy Spitalnick, a spokeswoman for Attorney General Eric Schneiderman, whose office is prosecuting the case.

Maziarz is accused of playing a role in a “multilayered pass through scheme” that had him using campaign funds and the Niagara County Republican Committee to funnel payments to a former Senate staffer who had been accused of sexual harassment.

Maziarz served as a top ranking Republican senator from western New York until 2012, when he abruptly announced he would not seek re-election.

A separate but related case brought against Sen. Robert Ortt was dismissed in June. Ortt had been accused of obtaining a no-show job for his wife in order to make up for a pay reduction he took to become the mayor of the City of North Tonawanda.

Maziarz%2c George – Decision MTD by Nick Reisman on Scribd