Former New York Knicks big man Charles Oakley pleaded no contest to a misdemeanor charge of disorderly conduct to resolve a case stemming from an alleged cheating incident last month at a Las Vegas casino.

Oakley was arrested in Las Vegas on July 7 and accused of committing -- or attempting to commit -- a fraudulent act in a gaming establishment, the Nevada Gaming Control Board said.

As a result of a plea bargain, Oakley will face no jail time. TMZ reports that Oakley was fined $1,000.

Oakley originally was charged with a Class B felony and, if convicted, could have faced a sentence of one to six years in a state prison and a fine of no more than $10,000.

"Mr. Oakley has pled no contest to the simple misdemeanor charge of disorderly conduct which fully resolves this situation," Oakley's attorneys, David Chesnoff and Richard Schonfeld, said in a statement provided to ESPN. "He appreciates the professionalism of the District Attorney and the Cosmopolitan in resolving this event."

Oakley was arrested by Nevada Gaming Control Board enforcement agents at the Cosmopolitan of Las Vegas. He was suspected of adding to or reducing his wager on a gambling game after the outcome was known, according to the board.

Further details of the incident were not made available, but TMZ reported that Oakley pulled back a $100 chip after he realized he was going to lose his wager. He then added chips on two other hands to increase his winnings while playing Ultimate Texas Hold 'Em, according to the site.

Oakley, 54, played 19 seasons in the NBA, most notably as a key contributor to the Knicks over 10 seasons.

Oakley has an active civil suit against Madison Square Garden and Knicks owner James Dolan after his February 2017 forced removal from the arena by security and subsequent arrest. Oakley was charged with misdemeanor assault and trespassing, among other charges. Oakley later agreed to a plea deal to have the charges dropped and subsequently filed the civil suit. Oakley's suit alleges defamation and libel.