Knicks forward Rasheed Wallace announced his retirement from pro basketball for the second time on Wednesday, according to ESPN. Wallace played in 21 games this season with the Knicks, but missed most of the season with a stress fracture in his right foot.

Wallace returned to action for the first time since Dec. 13 on Monday against the Charlotte Bobcats, but played just four minutes because of foot soreness. The Knicks had hoped to have the 38-year-old veteran forward back in time for the playoffs.

"Rasheed has given this team everything he had," Knicks coach Mike Woodson said in a statement provided by the team to ESPN. "He is a winner, true professional and leader on and off the court. Due to his injury, he will not be available to play for us during the playoffs."

Wallace played 15 seasons in the NBA and won a title with the Detroit Pistons in 2004. He retired in 2010 after one season with the Boston Celtics, but decided to come out of retirement to sign with New York in October.

Wallace averaged 14.4 points and 6.7 rebounds per game. The four-time All-Star is the all-time leader in technical fouls with 304.