UPDATED: Tuesday, Nov. 5, 5:45 p.m. CST
Illinois is now the 15th state to legalize same-sex marriage.
House legislators passed the Senate bill after failing to win enough votes in the spring. Their decision was the final piece needed to allow gay couples to marry in Illinois.
The House voted 61-54, while the Senate passed the bill with a 32-21 majority. Gov. Pat Quinn is expected to sign the bill immediately.
“It’s official,” President Obama tweeted after the Senate vote. “Marriage equality is coming to Illinois.”
The law will go into effect June 1.