The 19-year-old actress, who plays the titular Carrie Bradshaw on the CW's "Sex and the City" prequel, had been accepted into Stanford University when the role came up.
"When I was younger, I didn't want to be on TV," Robb told "Teen Vogue." "I wanted to play different kinds of roles and have the freedom to choose my projects. So when my agent called about 'The Carrie Diaries,' I said no way. TV was too much of a commitment."
The script for "The Carrie Diaries," however, won Robb over. "I realized it was actually a really strong story," she told "Teen Vogue." "It had a lot of heart and integrity, and Carrie seems like a character that I can grow with."
Amy B. Harris, writer/executive producer of "The Carrie Diaries" and former "Sex and the City" writer/producer, said Robb was perfect for the role. "I felt such an honor and responsibility to the fans ... to find someone who embodied the spirit of Manhattan’s favorite 'It' girl," Harris said in a statement from The WB. "When AnnaSophia Robb walked into the room, we knew we had found her. Her grace, intelligence, sense of fun and her empathetic nature make her the perfect girl to bring our young Carrie to life."
See what you think of AnnaSophia Robb as Carrie Bradshaw when "The Carrie Diaries" premieres on Monday, January 14 at 8 p.m. EST on The CW.
RELATED ON HUFFPOST:
The reality of being a woman — by the numbers. Learn more