It began five years ago Tuesday with a surprise raid by federal agents on the Minnetonka campus of Tom Petters’ business enterprise.

What followed was a whirlwind, headline-grabbing investigation and legal crime drama that today is in its final throes.

The events made Petters a household name and taught Minnesotans the intricacies of a well-executed Ponzi scheme. It was a simple and yet sophisticated fraud, in which clueless investors ponied up funds for electronics goods that never existed to sell to retailers who were not buying.

The case could have been written in Hollywood.

It involved whistleblower Deanna Coleman and fast-acting federal prosecutors who wired her to surreptitiously record incriminating conversations. There also was ex-con Larry Reynolds, who came from the witness protection program and, of course, Petters, the charming up-and-coming businessman who schmoozed with some of the best and the brightest in the Twin Cities business community.

Today, the charismatic Petters is five years into a 50-year sentence for his role in the $3.65 billion fraud scheme. But he has at least one more court appearance when he returns to St. Paul next month for a hearing on whether he had the opportunity to consider a purported 30-year plea bargain.

Other colleagues in the decadelong crime are in prison, as well. Coleman has done her time and is free again.

Several players await sentencing for their role in a scheme that once was exceeded only by the $65 billion fraud of New York’s Bernard Madoff.

Meanwhile, efforts to recover and sell personal assets from the fraud — homes, expensive cars, lavish art — to repay victims are winding down. Payouts, once they proceed, are likely to range from 17 cents to 25 cents on the dollar.

A separate bankruptcy proceeding involving the Petters business empire is moving more glacially — in part because of a complicated clawback procedure to retrieve “false profits” from some of the larger investors — and is probably years away from completion.

One distinction remains unchallenged: The Petters case remains the largest financial fraud in Minnesota history.