Kevin Martin announced his retirement from the NBA with an advertisement placed in his hometown newspaper, the Zanesville (Ohio) Times Recorder, on Friday.

Martin, who spent last season with the Minnesota Timberwolves and the San Antonio Spurs, played 12 years total in the league.

"My family and close friends have known since June of the direction I wanted my life to go. Those were the toughest conversations that I have ever had but with the ultimate support I knew I was making the right decision," Martin wrote in the advertisement.

Kevin Martin, who spent last season with the Timberwolves and the Spurs, played a total of 12 seasons. Ronald Cortes/Getty Images

Martin's most notable stretch came with the Sacramento Kings, where he played five full seasons. He finished 2008-09 with a career-high average of 24.6 points.

In 2010, he was traded at the deadline from the Kings to the Rockets in a deal that included Tracy McGrady. Martin spent the rest of that season with Houston.

Martin stayed in Houston for two more seasons before being traded to the Oklahoma City Thunder in 2012. The Rockets acquired star James Harden as part of that deal.