WASHINGTON — The Hill took a sudden shift toward gay rights today as the Senate advanced a bill to prohibit workplace discrimination based on sexual orientation or gender identity.

But even if the timing came right in the middle of a budget battle and backlash over the failure of the Obamacare website, the Employment Non-Discrimination Act is not new to Congress. A version was last before the Senate in 1996, where the bill fell short of passage by just one vote.

This version, introduced in April by Sen. Jeff Merkley (D-Ore.), aims “to invoke congressional powers, including the powers to enforce the 14th Amendment to the Constitution, and to regulate interstate commerce pursuant to section 8 of article I of the Constitution, in order to prohibit employment discrimination on the bases of sexual orientation and gender identity.”

It would make it unlawful “to fail or refuse to hire or to discharge any individual, or otherwise discriminate against any individual with respect to the compensation, terms, conditions, or privileges of employment of the individual, because of such individual’s actual or perceived sexual orientation or gender identity or to limit, segregate, or classify the employees or applicants for employment of the employer in any way that would deprive or tend to deprive any individual of employment or otherwise adversely affect the status of the individual as an employee, because of such individual’s actual or perceived sexual orientation or gender identity.”

In the religious protection section, it notes “this Act shall not apply to a corporation, association, educational institution or institution of learning, or society that is exempt from the religious discrimination provisions of title VII of the Civil Rights Act of 1964.”

Today ENDA passed the 60-vote threshold needed to advance to debate. The 61-30 vote included seven “ayes” from Republicans: Sens. Susan Collins (Maine), Kelly Ayotte (N.H.), Rob Portman (Ohio), Pat Toomey (Pa.), Dean Heller (Nev.), Mark Kirk (Ill.) and Orrin Hatch (Utah).

Final passage is expected later this week.

Among those speaking in favor of ENDA was Kirk, making his first floor speech since his January 2012 stroke.

“The Employment Non-Discrimination Act is about civil rights. In Illinois, we aspire to continue Abraham Lincoln’s legacy of fighting for liberty and human dignity. I measure myself against Senator Everett Dirksen, the Illinois fiscal conservative and social moderate whose passage of the Civil Rights Act in 1964 stood out as one of his best moments as a Republican leader,” Kirk said. “The fact that a majority of Fortune 500 companies already have taken steps to stop discrimination in the workplace highlights that our action is overdue.”

Senate Majority Leader Harry Reid (D-Nev.) said on the floor that “in 33 states, lesbian, gay, bisexual and transgender people can be fired or harassed just for being who they are.”

“West Virginia coal miner Sam Hall was terrorized by his coworkers for seven years because he was gay. Mr. Hall just wanted to make a living. But supervisors told him he would have to endure the persecution if he wanted to keep his job. West Virginia is one of 33 states with no protections against this type of oppression,” Reid said. “A patchwork of state laws that excludes tens of millions of American from basic protection from discrimination is simply not good enough.”