Mona Becker, a former councilmember, was elected the city’s first female mayor with 1,020 votes to Dennis Dillon’s 591 to cap a contentious and controversial campaign that resulted in 1,619 ballots being cast, a more than 50% increase over the number cast during the last mayoral election.