After 15 seasons, the NBA veteran has decided to call it quits.

Matt Barnes, a Sacramento native, announced his retirement from the NBA, through social media, in an Instagram post calling his 15-year run "cool".

Had a cool 15yr run!! Traveled the world met alota cool people, some will be brothers for the rest of my life! BUT NOW.... You telling me I can dress like this for business meetings & make more money off the court than I made ON?? & spend more time with my kids??!!Ha... MEEEEE the one that wasn’t suppose to be shit & ended up making it!! Let’s Do it! Love me or HATE ME, I DID IT MY WAY!! 🖕🏽🖕🏽🖕🏽haha #LifeAfter #NextChapter #YourFavoritePlayersOG #BillionaireBy50 #GODISGOOOOOOD 🖕🏽✌🏽😂❤️

A post shared by matt_barnes9 (@matt_barnes9) on

The 37-year-old forward was drafted in the second round by the Memphis Grizzlies in 2002. He played for nine different teams throughout his career, including his hometown Sacramento Kings.

Barnes was also a member of last season's NBA championship Golden State Warriors.

He leaves with career averages of 8.2 points per game and 4.6 rebounds while shooting nearly 44-percent from the field. In his post, Barnes says he did it his way and he sure did.

The tenacious forward brought us many classic moments on and off the court. Who could forget the infamous no flinch ball fake against Kobe Bryant, being a member of the 2007 "We Believe" Warriors who defeated the No. 1 seeded Dallas Mavericks in the playoffs or feuding with his former Los Angeles Lakers teammate Derek Fisher who was dating his ex-wife.

His grit, passion, fearlessness, stingy defense and willingness to compete against top NBA stars will be missed.

Barnes attended Del Campo High School in Sacramento where he was also an All-American and All-State in both basketball and football.