Students in same-sex marriages will be treated the same as their straight married classmates when it comes to federal college loan applications, Education Secretary Arne Duncan said, in a shift that reflects this year's Supreme Court ruling that broadened gay rights.

"We must continue to ensure that every single American is treated equally in the eyes of the law, and this important guidance for students is another step forward in that effort," Duncan said Friday in a news release.

The department said it would recognize a student — and parents — as legally married if the couple wed in a state that permits same-sex marriages.

The department also said students' eligibility for federal aid would be the same in all 50 states, regardless of where the student attends school.

For instance, a same-sex couple from Massachusetts, where gay marriage is legal, would be treated the same as a straight couple if one or both applied for a federal loan to attend a school in one of the 34 states that do not permit gay marriage. The same standards would apply to parents in same-sex marriages.

The department also revised its required Free Application for Federal Student Aid — the form known as FAFSA — to reflect more inclusive language about students and their parents. The new application forms do not distinguish between gay or straight marriages.

"As students fill out their FAFSA (form) this coming year, I'm thrilled they'll be able to do so in a way that is more fair and just," Duncan said.

The change was formally announced to colleges and parents in a letter from Brenda Dann-Messier, the department's assistant secretary for vocational and adult education.

Before the Supreme Court struck down portions of it in a ruling last summer, the Education Department was bound by the Defense of Marriage Act, which prohibited all federal agencies from recognizing same-sex marriages. The Clinton-era law defined marriage as between one man and one woman.

The Associated Press