Fans of “The Young and the Restless” have been wondering what will happen to star Justin Hartley’s character on the long-running soap now that the actor is also starring in buzzed-about NBC drama “This Is Us”, and now the actor has made it official: he’s leaving “Y&R”.

In a post on his Facebook page, Hartley explains that the reason for his secrecy was “in order not to spoil storylines for all of you.”

He adds: “Although I am saying goodbye to ‘Y&R,’ this is not a goodbye letter. I felt it was more important to write a thank you note. Each and every one of you helped make my time on the show enjoyable. I always loved hearing about how excited all of you were for certain characters, how disgusted you were with others, at times mine, or how we were able to help you escape from a hectic day.”

RELATED: Daytime Emmy Nominations Announced: ‘Young And The Restless’ Leads With 27 Noms

While the fate of his character, Adam Newman (which he’s played since 2014) remains unknown, it should be noted that Hartley is the third actor to have played the character, and it’s not outside the realm of possibility that they may recast the role for a fourth time. Stay tuned.

“The Young and the Restless” airs weekdays at 4 p.m. ET/PT on Global.

Here’s Hartley’s letter in its entirety:

To the wonderful fans of Y&R,

After many weeks of having to keep quiet in order not to spoil storylines for all of you, the time has finally come that I’m able to write you this letter. Although I am saying goodbye to ‘Y&R’, this is not a goodbye letter. I felt it was more important to write a thank you note. Each and every one of you helped make my time on the show enjoyable. I always loved hearing about how excited all of you were for certain characters, how disgusted you were with others, at times even mine, or how we were able to help you escape from a hectic day. You are some of the most loyal and dedicated fans I’ve ever encountered. You are truly the heart of the show. It simply does not work without you. I wanted to thank you for that. Thank you for tuning in; thank you for letting me entertain you; thanks for entertaining me, and thank you for caring.

Although I’m leaving the show, you haven’t gotten rid of me. Hahaha…not so fast. I’m beyond thrilled and proud of my new series, ‘This Is Us’. We have a sensational cast and crew, wonderful writing and I would be honoured to have you all tune in and watch. Here is a preview of what’s to come on This Is Us, premiering September 20th on NBC.

I’ll see you beauties in a couple of weeks!
Justin