"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,” she added.

The Homeland Security Department oversees immigration applications, and will now allow legally married U.S. citizens to petition for a green card for their same-sex spouses the same way heterosexual married couples are allowed.

ADVERTISEMENT

The extension of immigration benefits for gay couples had previously been a major sticking point in negotiations over the Senate's comprehensive immigration reform plan, with Democrats forced to abandon an amendment that would have recognized gay marriages after Republicans, including Sen. Marco RubioMarco Antonio RubioSenators pledge action on Saudi journalist’s disappearance Senators concerned as Trump official disputes UN climate change warning Rubio: Response to death of Saudi journalist 'can't be symbolic' MORE (R-Fla.), objected. 

The court ruling and corresponding move was applauded by gay rights organizations on Wednesday.

"At long last, we can now tell our families that yes, they are eligible to apply for green cards," said Rachel Tiven, executive director of Immigration Equality, in a statement.

"Many of our families have waited years, and in some cases decades, for the green card they need to keep their families together. Couples forced into exile will be coming home soon. Americans separated from their spouses are now able to prepare for their reunion. Today's ruling is literally a life-changing one for those who have suffered under DOMA and our discriminatory immigration laws."

In a statement earlier Wednesday, President Obama said he was directing his Cabinet "to review all relevant federal statutes to ensure this decision, including its implications for Federal benefits and obligations, is implemented swiftly and smoothly."