'The Carrie Diaries' is a prequel to 'Sex and the City', focusing on a young Carrie Bradshaw, portrayed by AnnaSophia Robb, as she navigates high school life in the 1980s while aspiring to become a writer. The series delves into her early relationships, family dynamics, and her first experiences in New York City. The show aired for two seasons from January 14, 2013, to January 31, 2014.