Raymond Felton has agreed to plead guilty to at least one gun charge stemming from his NBA in-season arrest on felony firearm charges after his estranged wife alleged he threatened her while armed with a revolver.

According to ESPN, Felton will avoid jail time, but will be required to at least complete 500 hours of community service, pay a $5,000 fine, register as a gun offender and waive his right as a defendant to appeal the case.

Raymond Felton arrested on domestic abuse charges

Ariane Raymondo-Felton filed for divorce from her New York Knicks husband earlier this year, leading to Felton being forced to turn himself in to police on Feb. 25, immediately following a Madison Square Garden loss to the Dallas Mavericks.

"I just want to say that I want to thank the DA for being fair to me in this whole situation," Felton said following Monday's proceedings. "I want to thank all my friends, my family especially, my fans, everybody just for supporting me and understanding the person I am."

Raymond Felton's wife wants pre-nup tossed

The 29-year-old Felton, who has two years and $15 million remaining on his Knicks deal, faced up to seven years in prison if convicted on all charges.

"We want to thank the DA's office for focusing on the facts and only the facts," Felton's attorney Jim Walden told ESPN. "It's very clear that there was no proof, that there was never any proof that he ever used, threatened or pointed his gun at anyone. He never did that. It was a bold-faced lie. We're grateful that the DA's office saw through that and is going to allow him to continue his basketball career without interruption."

Felton averaged 10 points a game, but shot just 40 percent his season and recently installed Knicks president of basketball operations Phil Jackson has hinted he plans to attempt to deal him this offseason.