Updated

Actor Tobey Maguire has agreed to settle a lawsuit filed in connection with an illegal underground poker ring allegedly funded by victims of a Ponzi scheme.

The "Spider-Man" star will pay $80,000 to settle the suit, TMZ reported Monday, citing court documents.

According to the suit, Maguire took in more than $300,000 in winnings. The money had allegedly been embezzled by hedge fund manager Bradley Ruderman, who is currently in jail.

The games were allegedly led by Ruderman, CEO of Ruderman Capital Partners, and funded with $25 million in defrauded investors' money. They were unlicensed and therefore illegal under California law.

Twenty-one other people -- including actors Leonardo DiCaprio, Ben Affleck and Matt Damon and director Nick Cassavetes -- were named in the June lawsuit, which was filed by trustees for Ruderman's victims after he filed for bankruptcy.

Tens of millions of dollars changed hands in the illegal games, according to Radar Online.