In a display of amicability, tech tycoon Elon Musk recently extended his congratulations to his ex-wife, Talulah Riley, following her engagement to actor Thomas Brodie-Sangster. The news of the engagement was shared by the couple on social media, with both expressing their joy and excitement.

Brodie-Sangster, known for his role in "Love Actually," and Riley, a former "Westworld" star, have been dating for two years. The 33-year-old actor took to Instagram to announce their engagement, posting a picture of the two of them together with the caption, "Happy to announce that Talulah and I are engaged. Love is all around X."

Riley, 37, echoed the sentiment on Twitter, writing, "Very happy to share that after two years of dating, Thomas Brodie Sangster and I are engaged!" The announcement was met with a flurry of well-wishes from friends and followers, including a heartfelt message from Musk.

Musk, who was married to Riley twice — first from 2010 to 2012, and then from 2013 to 2016 — responded to the news with a simple yet warm message. "Congratulations!" he wrote, accompanied by a red heart emoji. The magnanimous response from Musk was well-received, with one user commending him for his maturity, saying, "So classy of you. I imagine that you loved her so much. You are such a gentleman."

Despite their on-and-off relationship, Musk and Riley have managed to maintain a strong friendship. In a previous interview with The Independent, Riley referred to Musk as a "great friend" and said they were in a "happy place" where they were "good to each other."

Before his relationship with Riley, Musk was married to Justine Musk, with whom he shares six children. Their first child, Nevada Alexander, tragically passed away at 10 weeks old from sudden infant death syndrome. The couple also has 18-year-old twins, Vivian Jenna Wilson and Griffin, and triplets Kai, Saxon, and Damian, born in 2006. Musk also has two children with musician Grimes — a son named X Æ A-Xii and a daughter, Exa Dark Sideræl. In 2021, he secretly welcomed twins with Shivon Zilis.

As Musk continues to navigate his personal life, his gracious response to his ex-wife's engagement demonstrates a level of maturity and respect that is often absent in high-profile breakups. His well-wishes for Riley and Brodie-Sangster's future together serve as a reminder that past relationships can evolve into supportive friendships.