New York Attorney General Eric Schneiderman has taken legal action against the Trump administration or congressional Republicans 100 times during President Trump's first year in office, according to The New York Times, continuing a long-running rivalry between the two.

Schneiderman has sued the administration to block all three of President Trump's bans on travel and to protect the Deferred Action for Childhood Arrivals program and sued the Federal Communications Commission for its decision to end net neutrality, an Obama-era internet regulation.

"We try and protect New Yorkers from those who would do them harm," Schneiderman told the newspaper. "The biggest threat to New Yorkers right now is the federal government, so we're responding to it."

Schneiderman, who is in his seventh year as New York's top attorney, raised tensions with Trump when a judge approved his $25 million settlement in November for a fraud case against the now-defunct Trump University.

Trump, who led a real estate career in Manhattan before running for president, repeatedly clashed with the attorney general over the years. Schneiderman has also opened legal inquiries into Trump's charity and his son Eric's foundation.

The New York Times notes that other notable attorney generals are following suit. In California, Attorney General Xavier Becerra has set aside budget funds specifically for targeting the Trump administration.