Jennifer Aniston recently opened up about her past challenges in getting pregnant. Following the revelations, her former husband, Justin Theroux, appeared to have given his support via social media.

It comes after the 53-year-old celebrity took some of her photos from her latest cover story for Allure to Instagram. Part of the post’s caption reads, “End of an era. Thank you @allure for making me the cover girl of your very last print issue.”

The post published Wednesday has since obtained more than 5.4 million likes. It has also amassed more than 34,400 comments, with many fans and followers expressing their admiration for the “Friends” alum.

Entertainment Tonight reported that one of the commenters is Jennifer Aniston’s former husband, Justin Theroux. As stated, he commented on the post with fist bump and heart emojis, with reports noting that it immediately racked up more than 4 million likes.

The “Morning Show” star made several personal revelations in her cover story for Allure magazine. In one part of the interview, she shared that she went through “hard s***” in her late 30s and 40s.

Jennifer Aniston, who tied the knot twice, revealed that she “was trying to get pregnant.” She also noted that the “baby-making road” was “challenging,” adding that nobody has an idea about it and “all the years… of speculation” was “really hard” for her.

The “Just Go With It” actress continued in the exchange that she “was throwing everything at it,” citing going through IVF, drinking Chinese teas, and all the other ways she did: “you name it.”

Aniston also pointed out that she “would’ve given anything if someone had said to me, ‘Freeze your eggs. Do yourself a favor.’ You just don’t think it. So here I am today. The ship has sailed.”

But, the actress, who tied the knot with Justin Theroux in 2015, told the magazine that she no longer cares as “if it wasn’t for going through that, I would’ve never become who I was meant to be.” She added, “That’s why I have such gratitude for all those s***ty things. Otherwise, I would’ve been stuck being this person that was so fearful, so nervous, so unsure of who they were.”

Elsewhere in the interview published Wednesday, Jennifer Aniston noted that she has “zero regrets.” She shared that she feels “a little relief now because there is no more,” before saying, “‘Can I? Maybe. Maybe. Maybe.’ I don’t have to think about that anymore.”

Justin Theroux and the “Wanderlust” actress got engaged about a year after they began dating in 2012. They wedded three years later, although they decided to separate in late 2017.

The former couple has since remained on good terms.