A former Connecticut town official accused of donning a mask and attacking his fiancee with a baseball bat inside their home just four days before their wedding has agreed to a plea bargain.

A lawyer for former Ansonia Alderman Keith Maynard said Wednesday that under terms of the agreement, Maynard will plead no contest to second-degree assault and violating a restraining order.

Charges including first-degree unlawful restraint and first-degree reckless endangerment will be dropped.

Attorney Jack Kelly says prosecutors will seek an eight-year prison sentence with the possibility of release after three years. The defense attorney will request release after 2 1/2 years.

The 43-year-old Maynard was accused of attacking his fiancee in July 2009. They married four days later but she has since filed for divorce.