(CNN) - Minnesota is expected to become the twelfth state to legalize same-sex marriage after the state Senate on Monday voted 37-30 in favor of approving it.
Gov. Mark Dayton has said he would sign the bill. After the vote, he posted online, "Join us tomorrow as we make history on the Capitol steps."
The bill follows a failed attempt last year to define marriage as between one man and one woman with an amendment to the state constitution.
The state House approved the measure last Thursday.
The Human Rights Campaign, which supports same-sex marriage rights, applauded the vote, saying, "Voters in Minnesota brought anti-equality efforts to a screeching halt on Election Day, and today state leaders in St. Paul made it clear that all Minnesota families are equal in the eyes of the law."
The divisive issue drew crowds to Washington earlier this year when the Supreme Court heard arguments on a federal and state marriage law. The court heard challenges to the federal Defense of Marriage Act, which defines marriage as between one man and one woman, and to California's Proposition 8, a 2008 ban on same-sex marriage approved by voters.
The 11th state to legalize same-sex marriage, Delaware, did so last week.