A former Domino’s Pizza accountant, whose alleged illegal trades resulted in profits of $960,697, was hit with nearly a $2 million penalty on Thursday for using nonpublic earnings reports to gain an advantage, according to the Securities and Exchange Commission (SEC).

The SEC’s complaint, filed April 13 in the U.S. District Court for the Eastern District of Michigan, alleged Bernard Compton profited off confidential financial data he obtained through his role as an accountant at the company’s corporate office, according to a press release.