Despite the kind words and endorsement Sen. Elizabeth Warren bestowed upon Hillary Clinton Thursday night, the Massachusetts Democrat has a long record of condemning the actions of the now-Democratic presidential candidate.

Warren went on the record with PBS host Bill Moyers in 2004 to call out then-N.Y. Sen. Clinton for rebuking the financial services industry only to later sell out to the lobbyists.

The duo had worked together in the late 1990s to defeat a bill — backed by credit card companies — that would have purposely made it more difficult for consumers to declare bankruptcy in order to keep them paying on their debts.

Warren recalled how their partnership had begun. Warren, a Harvard Law professor, had written an op-ed in the New York Times titled "Bankrupt? Pay Your Child Support First." In the piece, she described how the Bankruptcy Reform Act of 2000 would inordinately hurt women trying to get alimony from their ex-husbands.

Warren said Clinton, then-first lady, asked her for a meeting while on a trip to Boston. Warren agreed and on one afternoon tutored Clinton on the downsides to that bill.

"At the end of the conversation, she said, 'Professor Warren, we've got to stop that awful bill,' referring to this bankruptcy bill that's sponsored by the credit card companies," Warren told Moyers in the 2004 interview.

Clinton returned to the White House and managed to flip her husband's stance on the bill, persuading him to veto it when it hit his desk.

But Warren explained that that was before Clinton sold out to the very corporations she was fighting.

In 2000, Clinton ran for an open Senate seat in New York and won. By 2001, Clinton was faced with that very same bill again, this time not as a first lady, but as a senator. And this time, she voted in favor of the legislation.

"As Sen. Clinton," Warren said, emphasizing her senator title, "the pressures were very different."

"It's a well-financed industry. You know a lot of people don't realize that the industry that gave the most money to Washington over the last couple years is not the oil industry, it's not pharmaceuticals, it was consumer credit products," Warren said. "Those are the people — the credit card companies have been giving money and they have influence. She has taken money from the groups and more to the point, she worries about them as a constituency."

Fast forward 12 years to 2016. Many Democrats — even independents and Republicans — had expected the outspoken first-term senator to challenge Clinton for the Democratic nomination in 2016, but Warren did not.

Instead, on a mid-June evening, Warren announced her support for a candidate whose policies she has railed against.