BOSTON (AP) — A deadline is at hand for residents who wish to register for municipal elections being held around the state next month.

The registration deadline is Wednesday and Secretary of State William Galvin says city and town offices in communities where elections are scheduled for Nov. 5 will remain open late to accommodate eligible voters.

The Boston election will pick a successor to Mayor Thomas Menino, who is retiring after more than 20 years in office.

More than 50 other communities are also holding municipal votes, and a special election is scheduled to choose a new state senator in the 2nd Hampden and Hampshire District.

In addition, referendums on casino proposals are scheduled on Nov. 5 in the town of Palmer and in the East Boston neighborhood.