The U.S. Supreme Court on Monday scaled back the Securities and Exchange Commission’s power to recover ill-gotten profits from defendants’ misconduct, handing Wall Street firms a victory and dealing another blow to the regulator’s enforcement powers.

In a 9-0 ruling, the Supreme Court found that the SEC’s recovery remedy known as “disgorgement” is subject to a five-year statute of limitations. The justices sided with New Mexico-based investment adviser Charles Kokesh, who previously was ordered by a judge to pay $2.4 million in penalties plus $34.9 million in disgorgement of illegal profits after the SEC sued him.

The decision marked the second time since 2013 that the Supreme Court has reined in the SEC’s enforcement powers. In the prior case, called Gabelli v. SEC, the justices unanimously ruled that civil monetary penalties are also subject to a five-year time bar.

The ruling represented a major victory for Wall Street firms, whose Securities Industry and Financial Markets Association trade group had urged the justices to curb the SEC’s powers in order to provide more certainty and predictability to the enforcement process.

Writing for the court, Justice Sonia Sotomayor said that disgorgement counts as a penalty and is therefore bound by a five-year statute of limitations that already applies to “any civil fine, penalty or forfeiture.”

The SEC disgorgement process “bears all the hallmarks of penalty: It is imposed as a consequence of violating a public law and is intended to deter, not to compensate,” Sotomayor wrote.

“We are pleased with the Supreme Court’s opinion today, which grants important protection to defendants facing enforcement actions by the SEC and other agencies,” said Adam Unikowsky, one of Kokesh’s lawyers.

An SEC spokesman declined to comment on the ruling.

Kokesh was sued by the SEC in 2009 for misappropriating investors’ money. His penalties covered conduct within the five-year statute of limitations, but the disgorgement covered conduct that largely occurred outside that time frame.

Kokesh appealed to the Supreme Court after losing at the Denver-based 10th U.S. Circuit Court of Appeals. Kokesh’s attorney argued that a disgorgement in the case constituted a punitive “forfeiture” that is time-barred.

The Justice Department argued that disgorgement is equitable relief that is not considered a punishment, but merely restores the defendant to the same position he was in prior to when the misconduct occurred.

Nick Morgan, a Los Angeles-based lawyer with the Paul Hastings law firm who represents clients being investigated by the SEC, said the ruling will especially affect complicated cases that require more time for the SEC to investigate.

“For the more complex cases, this will be a sea change for them, they will have to move more quickly,” Morgan said.

leave a reply: