Investors who lost their life savings at the hands of Bernard Madoff can’t sue over the Securities and Exchange Commission’s failure to uncover earlier his multibillion-dollar Ponzi scheme, the largest in history.

The U.S. Court of Appeals for the Third Circuit ruled on Monday that the SEC is shielded by a Federal Tort Claims Act exception for an exercise of discretion by a federal agency or employee, even if it is abused.