Gossip Girl co-star Leighton Meester is returning to series TV as the female lead opposite Adam Pally in Making History, Fox’s time-travel single-camera comedy pilot executive produced by Phil Lord, Chris Miller and Julius “Goldy” Sharpe.

Written by Sharpe, Making History revolves around three unlikely friends who find an even less likely way to travel through time, irreversibly complicating their personal lives in 2016. It centers on Dan (Pally), a nerdy computer science professor at a small college and the “failure” of an accomplished family who is unpopular with both students and colleagues on campus, where his extreme intelligence comes off as odd. Dan invented time travel, hoping to get a fresh start and meet less shallow people. We see two Dans – the “nerd rage” guy having a hard time in the present, and the cooler more carefree guy in the past.

Meester will play Deborah, a colonial woman self-educated and incredibly motivated with modern ideals trapped in a regressive time. She has contemporary beliefs of gender and racial equality which everyone scoffs at in 1775.

Meester developed strong following for her role as queen bee Blair Waldorf on Gossip Girl. She is repped by WME and Rick Genow.