(CNN) - The New Hampshire State Senate narrowly voted Wednesday to allow the state to become the fifth in the country to legalize same-sex marriage.
The measure, passing on a 13-11 vote, now heads to the New Hampshire House of Representatives, which has passed same-sex marriage legislation, but rejected earlier this year a provision in the Senate bill that lays out a distinction between civil and religious marriage.
New Hampshire Gov. John Lynch, a Democrat, has not indicated whether he would sign the bill should it reach his desk.
(Updated to clarify that the rejected provision was a small part of a larger bill, which passed the House)