The Maryland State Senate passed same-sex marriage by a 25-22 vote Thursday night.
The passage of the bill comes less than a week after the House of Delegates passed the identical bill.
The bill now goes to Gov. Martin O'Malley for his signature.
The law, which goes into effect January 1, 2013 is expected to face a referendum challenge and could end up on the November ballot along with the bill that grants in-state tuition rates to some children of illegal immigrants.
How they Voted: Baltimore CityName Party District Vote Catherine Pugh D 40 Yes Lisa Gladden D 41 Yes Joan Carter Conway D 43 Yes Verna Jones-Rodwell D 44 Yes Nathaniel McFadden D 45 Yes
William FergusonD 46 Yes
How They Voted: Baltimore CountyName Party District Vote Joseph Getty R 5 No Norman Stone D 6 No J.B. Jennings R 7 No Kathy Klausmeier D 8 Yes Delores Kelley D 10 Yes Bobby Zirkin D 11 Yes Ed Kasemeyer D 12 Yes Jim Brochin D 42 Yes