ST. PAUL, Minn. (AP) — A Republican state lawmaker accused in a string of sexual harassment allegations is officially resigning.

Rep. Tony Cornish submitted his resignation letter Monday evening to Gov. Mark Dayton. The Vernon Center lawmaker had represented his southwestern Minnesota District for eight terms and became the face of efforts to expand gun rights at the Capitol.

Cornish was accused of making unwanted advances on several women. A female lobbyist said he repeatedly propositioned her for sex and once pushed her into a wall while trying to kiss her.

His resignation was part of an agreement with the lobbyist to avert a potential lawsuit. It's effective at the end of November.

A Democratic state senator is also resigning amid sexual harassment allegations. Dayton will call a special election to fill both seats.

___

This story has been corrected to show that the resignation was part of an agreement to avoid a possible lawsuit.