The Supreme Court has ruled that The Defense of Marriage Act (DOMA), the law barring the federal government from recognizing same-sex marriages legalized by the states, is unconstitutional.

“The federal statute is invalid, for no legitimate purpose overcomes the purpose and effect to disparage and to injure those whom the State, by its marriage laws, sought to protect in personhood and dignity,” Justice Anthony Kennedy wrote in the majority opinion. “By seeking to displace this protection and treating those persons as living in marriages less respected than others, the federal statute is in violation of the Fifth Amendment.”

This means that same-sex couples should now be treated just like opposite-sex couples in the immigration system. Citizens can now sponsor a foreign-born same-sex spouse for permanent residence (a green card) as long as they wed legally in a state or country that allows it and have a bona fide marriage. 

In a statement on the DOMA decision Wednesday, Homeland Security Secretary Janet Napolitano said, “Working with our federal partners, including the Department of Justice, we will implement today’s decision so that all married couples will be treated equally and fairly in the administration of our immigration laws.”

Rachel Tiven, executive director of Immigration Equality, says, “When the immigration system is evaluating a green card application, they ask, ‘Was your marriage valid in the place of the celebration, and is your marriage bona fide?” It doesn’t matter if the couple got married abroad, as long as the marriage was legally recognized in that country. That benefit now applies to binational same-sex couples.

Think Progress’ Esther Yu-Hsi Lee noted “The Supreme Court ruling comes as a future goal post to look forward to now that federal laws has ended the discrimination against their love,” “It also will finally allow the federal government to treat all LGBT families equally by allowing them access to federal benefits and protections.”