The Rev. Jeffrey Nowak has been accused of violating the Catholic church’s seal of confession, sexually harassing a seminarian and trying to blackmail a fellow priest.

But his lawyer said Friday that Nowak denies all of the allegations.

“I don’t think Father Jeff has gotten a fair shake on this,” said attorney James Granville. “They had him tried, convicted and sentenced in March and he wasn’t told of any allegations against him by anyone in the diocese until April or May.”

Granville said his client’s name was dragged through the mud in media reports before all of the facts were known.

“If you’re accused of doing that and you’re not the person they’re describing, it’s tortuous,” said Granville. “He denies all of the allegations, but we’re relying, for better or worse, I guess, on the canonical and the civil justice system.”

Nowak, pastor of Our Lady Help of Christians Church in Cheektowaga, declined to comment Friday. He has been on administrative leave and not able to function publicly as a priest since Aug. 28.