(CNN) -

After a decade-long run, CBS has canceled "CSI: Miami," the network announced Sunday.

In a statement, CBS said that the "CSI" spinoff is going off the air with "an amazing television legacy -- a signature look and style, global popularity and as a key player in CBS' rise to the top over the past decade."

The network thanked the show's producers, "led by Jerry Bruckheimer, Jonathan Littman and Ann Donahue," the statement said, "and its talented cast, led by David Caruso, for ten outstanding seasons."

The network has also given the ax to "A Gifted Man," and while the series star, Patrick Wilson, wasn't surprised, it seems he would've appreciated hearing about it from CBS.

"So... shocking to no one: #agiftedman is done," Wilson wrote following CBS' announcement. "Found out via email...and not from the network. Stay classy. Thanks to 'AGM' fans! Great cast/crew!"

Wilson warned last Friday that reports of cancellation were unconfirmed, but now that it's definite he was free to say what he really thought.

"Thanks for the 'AGM' love...but now that it's 'official,' I couldn't be happier. As good as it was (sometimes) it was not what I signed on for," the 38-year-old added of his experience on the show.

But, he continued, "I gave everything I had to the show. We had an amazing cast/crew. ... It's all good."

No sweat for fans, though: They can next see Wilson in the sci-fi flick "Prometheus" with Charlize Theron and Idris Elba, in theaters June 8.