The in-demand Mindy Project alum Adam Pally has been tapped as the lead in Making History, Fox’s time-travel single-camera comedy pilot executive produced by Phil Lord, Chris Miller & 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, 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

Former Happy Endings star Pally was  offered multiple comedy pilots this season, as he just became available following his three-year stint on The Mindy Project.

He is repped by UTA, 3 Arts and attorney Jon Moonves.