AnnaSophia Robb
AnnaSophia Robb has been cast as the young Carrie Bradshaw in the “ Carrie Diaries,” a prequel to Sex and City. Reuters

AnnaSophia Robb has been cast as the young Carrie Bradshaw in the Carrie Diaries-- a prequel to Sex and City.

The series will be based on the novel by Candace Bushnell, according to the Hollywood Reporter and will explore Carrie's life growing up as a high school student in Manhattan in the 1980s.

The 18-year-old actress, who is best known for her role in Charlie and the Chocolate Factory, will tell the story through her own voice in the same way Carrie does in Sex and the City.

The Carrie Diaries is produced by the producers of Gossip Girl, Josh Schwartz and Stephanie Savage, and therefore CW audiences are expecting a lot of drama.

Here are 5 things to know about AnnaSophia Robb:

Macdonald's Ad: Robb launched her acting career in a MacDonald's advertisement. It was her first onscreen role before she took up a small role in the episode Number one Fan, of the television series Drake and Josh. She dyed her hair dark for the part.

Films: Robb has stared in two big-screen films during her acting career. First as a rude gum chewer in Tim Burton's Charlie and the Chocolate Factory, and second, she starred as Opal in Winn-Dixie

Awards: Robb won her first award in 2008 for Leading Young Actress at the Young Artist Awards for her role in Bridge to Terabithia. In 2009 she won a Horizon Award and a Rising Star Award at the Denver Film Festival

Charity Work: Robb is active in charity work. Last year, she appeared as a judge at the Red Robin Restaurant hamburger contest. The event raised money and awareness for The National Center of Missing and Exploited Children. She also has a section dedicated to Changing the World on her Website.

Music and Movies: Robb likes all sorts of music. It really depends on my mood. Right now, some of my favorites are Coldplay, U2, Pink Floyd, and Fat Freddy's Drop. Films are the same sort of deal; it depends on my mood. But some of my favs are the Thelma and Louis; The Bourne movies; Slumdog Millionaire; The Goonies and Tropic Thunder. I'm also very excited about Harry Potter, she said.