BOSTON (AP) — Updated numbers indicate that Amesbury's mayoral election is closer than at first thought.

The city clerk said Wednesday that challenger Ken Gray beat incumbent Thatcher Kezer by just two votes. The first count Tuesday gave Gray an eight-vote win.

Kezer has indicated he wants a recount.

The Amesbury election was one of several Massachusetts mayoral races in which the incumbent lost, according to unofficial results.

Chicopee incumbent Michael Bissonnette lost to former mayor Richard Kos, who served in the office from 1997 until 2004.

Brockton incumbent Linda Balzotti lost by 55 votes to challenger Bill Carpenter.

Leominster Mayor Dean Mazzarella won an 11th term, and Holyoke Mayor Alex Morse, first elected at age 22, earned a second term.

Incumbents in Lynn, Gloucester, North Adams and Newton were among the winners Tuesday.