Background: Kevin Maurice Garnett (born May 19, 1976) is an American former professional basketball player who played for 21 seasons in the National Basketball Association (NBA). He played the power forward and center positions. In high school, Garnett was a 1995 McDonald's All-American at Farragut Career Academy and won a national player of the year award. He entered the 1995 NBA draft, where he was selected with the fifth overall pick by the Minnesota Timberwolves and became the first NBA player drafted directly out of high school in 20 years.
Context: On June 28, 2013, the day of the NBA draft, the Boston Celtics and the Brooklyn Nets reached a deal to trade Garnett, Paul Pierce and Jason Terry for future first-round picks in the 2014, 2016, and 2018 drafts, as well as Kris Humphries, Gerald Wallace, Kris Joseph, MarShon Brooks and Keith Bogans. The deal was finally completed on July 12, with Brooklyn also receiving D. J. White. Garnett chose to wear number 2 to honor his former Minnesota Timberwolves teammate Malik Sealy.  On December 13, 2013, Garnett surpassed 14,000 career rebounds, becoming only the tenth player in NBA history to do so. In reaching the milestone, Garnett also joined Kareem Abdul-Jabbar and Karl Malone as the only players to reach 25,000 points, 14,000 rebounds and 5,000 assists. He reached the milestone in the third quarter of a 103-99 road loss to the Detroit Pistons. The Nets cherished Garnett's leadership and passion. Despite boasting a starting line-up of Deron Williams, Joe Johnson, Brook Lopez, Paul Pierce, and Garnett, the Nets were unable to advance past the second round of the playoffs, while Garnett finished his 19th NBA season with career low averages of 6.5 points and 6.6 rebounds per game.  On November 1, 2014, Garnett had arguably his best game for the Nets as he recorded 18 points and 14 rebounds in 35 minutes of action in the Nets' 102-90 win over the Detroit Pistons. Six days later, he recorded five rebounds in a 110-99 win over the New York Knicks and by doing so, passed Walt Bellamy for ninth place on the all-time rebounding list.
Question: when did he leave the nets?

Answer: