To many Democrats, Eric Schneiderman was a superhero, flying to the rescue after President Trump's stunning win in 2016.

He sued the Trump administration repeatedly, and fought them on numerous issues, including the travel ban, the administration's approach to the environment, and immigration.

Before Trump was even a candidate, Schneiderman sued over Trump University.

"Every part of the pitch to these people, the victims, was a sham," he said April 6 of 2016.

Schneiderman got his start in the public eye as a lawyer for subway riders. He was fighting fare hikes.

He ran for an Upper West Side state Senate seat in 1998 and won.

"I have no problem challenging authority," he said June 24, 1998. "I have done it throughout my career."

For the next 12 years, he was in the state Senate, successfully fending off a tough challenge in 2002 after his district was redrawn. It had been 20 percent Latino, but overnight it changed to more than 50 percent.

"I've won every time I've run, with the overwhelming support of African-American and Latino voters," Schneiderman said July 18, 2002.

He beat out four other Democrats and a Republican to become New York's attorney general in 2010.

"If there's evidence of malfeasance, I'll pursue it," he said in his election victory speech.

During the campaign, he got in trouble over a hit-and-run accident involving a parked car that belonged to a NY1 employee. Schneiderman said an aide was behind the wheel.

As attorney general, Schneiderman sued movie mogul Harvey Weinstein over his alleged sexual misconduct, and cast himself as a champion of women.

"Women are the ones who have the right to make that choice, not some men sitting in Albany or Washington," Schneiderman said June 20 of last year.

Most recently, Schneiderman was trying to change state law to allow him to prosecute associates of President Trump, even if the president pardoned them for federal crimes.