The Supreme Court of the United States on Wednesday struck down the Defense of Marriage Act, entitling all married same-sex couples to federal recognition and benefits.



CNN reports the vote was 5-4, with Justice Anthony Kennedy, who wrote the opinion, sided with the court's liberal wing. Chief Justice John Roberts, Justice Antonin Scalia and Justice Samuel Alito wrote dissents.



The Supreme Court dismissed a case on Proposition 8 due to standing, so a lower court ruling against the measure stands, and same-sex couples will be allowed to marry in California.



The DOMA ruling means married couples in Maryland will be entitled to tax benefits, legal privileges and other rights previously only available to heterosexual couples.



The court is also set to rule Wednesday on a challenge to Proposition 8, a successful 2008 California ballot initiative that banned same-sex marriage there.



Maryland was one of three states to approve same-sex marriage at the ballot box in 2012, after a General Assembly bill was petitioned to referendum. With the court's ruling on the California law, same-sex marriage is currently legalized or set to become legalized in Washington, DC and 13 states, including neighboring Delaware (where a law is set to go in effect on July 1).



Gov. Martin O'Malley, long a champion of Maryland's same-sex marriage legislation, applauded the ruling.



"This ruling is a powerful step forward for those who live in states like Maryland," O'Malley said in a statement. "But the Court's decisions make clear there is still more work to do as a nation to achieve greater respect for the rights and human dignity of all."



In February, Maryland Attorney General Doug Gansler filed briefs with the Supreme Court supporting the challenges to the Defense of Marriage Act and California's Proposition 8.



"Today is a historic moment in civil rights history, with Supreme Court decisions striking down Section 3 of DOMA as unconstitutional and dismissing the Proposition 8 appeal, letting stand a district court opinion declaring that law unconstitutional and paving the way for marriage equality in California," Gansler said in a statement. "Now we must work together to write the next chapter – achieving marriage equality in all 50 states."



Maryland Comptroller Peter Franchot Tweeted that he was "proud" of the Supreme Court's ruling.

