Knicks point guard Raymond Felton was arraigned on two felony weapons possession charges in Manhattan Criminal Court on Tuesday, ordered to stay away from his estranged wife and released on $25,000 bail.

Felton's court appearance followed his arrest early Tuesday morning after his wife, Ariane Raymondo-Felton, surrendered to police a loaded semi-automatic handgun she said belonged to the basketball star. She said she no longer wanted the gun in their home.

According to a report by the Associated Press, Felton was upbeat as he appeared before Judge Diana Boyar in a black sweatshirt with a peace sign and other symbols on it. The arrest and court appearance capped a string of bad news for Felton, whose wife filed for divorce last week -- at the same time the Knicks were trying to trade him.

Felton left in a black SUV after the arraignment and did not speak to the media. He is permitted to travel to away games, bail bondsman Ira Judelson said.

Prosecutors said they were told Felton stored the Belgian-made FN Herstal model handgun in the home from August through February. Felton’s wife, who is a student at Fordham University School of Law, asked a lawyer to deliver the gun to a stationhouse on Manhattan’s upper West Side on Monday night, right around tipoff of the Knicks' game against the Dallas Mavericks at Madison Square Garden, police said.

The gun had 18 rounds of live ammunition in its magazine, prosecutors said.

Felton, who played in Monday night's game, turned himself in at 12:50 a.m. Tuesday, police said. All told, he faces up to 11 years in prison, though the charges could change.

A Knicks spokesman has said the team had no immediate comment. An attorney for Raymondo-Felton didn’t comment.

Felton, who had eight points and seven assists Monday night, had been shopped by the Knicks before the trade deadline, but no deal was made. Felton, who will earn $3.5 million this season, has had a disappointing season, averaging 10.4 points and shooting 40 percent while missing 16 games with a series of injuries. As the Knicks have fallen to 21-36, Felton has been seen as one of the reasons for the team's struggles.

NBA spokesman Tim Frank said the league was monitoring the case. It could fine or suspend Felton, but likely will wait until after the legal case has been resolved.