The case is closed on "Rosewood." Fox has canceled the drama after two seasons.

"Rosewood" debuted in fall 2016 as a lead-in to "Empire" on Wednesday nights and performed well, which earned it a quick second season renewal. However, this season, the crime drama moved to Thursdays and ratings suffered. Season 2 averaged just 3 million viewers and 0.7 in the 18-49 demographic.

The show starred Morris Chestnut as a private pathologist who works closely with the Miami police on cases. Chestnut announced the cancellation on Instagram:

I am very grateful about the part that everyone took in Rosewood's journey, because everyone was truly an integral part; the writers who crafted great story-lines, the actors who brought these stories to life, the production crew who sustained the show's infrastructure, and the terrific fans who embraced this phenomenon and became just as much a part of Rosewood as anyone else. FOX provided a platform for a show that made strides in diversity and the images it projected, as all-inclusive. We were able to peer into the lives of characters who displayed their hopes, dreams, courage and fears. Rosewood also helped reinforce a newer definition of Family, as a group of people who most care for and support one another. The #Rosewood family, itself was an Extremely Special group of people who'll be friends forever. This is not only a part of the industry, it's a part of life. When one door closes, two more can open... Thank you all for your continued #onelove and support. See you back on the screen, soon. Big and Small. #PEACE - MC

A post shared by Morris Chestnut (@morrischestnutofficial) on