Sex and the City star Kim Cattrall has split from her much younger longtime beau, chef Alan Wyse.

Her rep tells E! News that the two have been together for five years but decided to go their separate ways "a while ago." "They remain friends," the rep says.

See Hollywood's biggest age differences of all time

Cattrall, 52, joked that her relationship with Wyse, 32, mirrored her SATC character Samantha Jones' infamous fling with the much younger Smith Jared.

See famous women who prefer to date younger men

"When Alan and I first got together three years ago, I was a little embarrassed about how close to the storyline it seemed," Cattrall told London's The Daily Telegraph in 2007. "I was dating men closer to my own age, and I thought that Alan would just be a nice little interlude in my life. But he kept calling and pursuing me. And, you know what, I'm not complaining."

See what SATC stars looked like before they were famous

"I've discovered that it's really interesting to be with a man of another generation because he has different ways of looking at the world," she told the paper."Plus, irrespective of his age, Alan has a lot of wisdom that comes from just being him."

See SATC's Carrie Bradshaw's craziest couture outfits of all time

At least Cattrall has work to help her cope with the split: The SATC movie sequel is due out May 28, 2010.