Lena Dunham has teased a cameo role on 'The Simpsons'.

The 'Girls' star will play Candace, a young pharmacist who Homer falls in love with after she helps treat his narcolepsy.

She captioned a shot from the animation TV series: ''Meanwhile I have the tremendous/horrendous fortune of waking up next to Homer this Sunday on The Simpsons #homewrecker #sexualhealing (sic)''

Meanwhile, fans were outraged when it was previously revealed Homer and Marge Simpson would legally separate in the new series.

Revealing details about thew new season, executive producer Al Jean said: ''In the premiere, it's discovered after all these years Homer has narcolepsy and it's an incredible strain on the marriage. Homer and Marge legally separate, and Homer falls in love with his pharmacist, who's voiced by Lena Dunham. We'll have cameos from the other women from 'Girls'.

''We have an episode coming up where Lisa befriends a homeless woman who turns out to be an incredible singer.

''In another episode, Spider Pig makes his return. Sideshow Bob appears in a segment, and we finally see him do something he's wanted to do for 25 years.

''And we have an episode based on the film 'Boyhood'. It's a flashback/flashforward about Bart. We go to various points in his life and his life to come which I think came out really well.''