She joins Hilary Duff in the sitcom spin-off

Hulu will stream the show, seen as a sequel to the CBS show 'How I Met Your Mother'

Cattrall will play the older version of Duff's character, Sophie. She tells her son the story of her group of friends, figuring out life together and finding love in the world of dating apps and limitless options.

Cattrall joins the cast with Duff, Chris Lowell, Tom Ainsley, Tien Tran, Francia Raisa, and Suraj Sharma.

“This Is Us” co-showrunners and “Love, Victor” co-creators Isaac Aptaker and Elizabeth Berger, will serve as writers. They will also executive produce on the new series.

Cattrall is best known for her starring role as Samantha in the HBO series 'Sex and the City.'

She has also known for her roles in 80's films 'The Bonfire of the Vanities', 'Police Academy' and 'Big Trouble in Little China'.

'How I Met Your Mother' ran for a total of 208 episodes, over nine seasons, from 2005 until 2014.