He previously served as a Harvard Academy Junior Scholar at Harvard University, and as an instructor in economics and political economy at the University of California-Berkeley. He holds a BMath from University of Waterloo, an MA in economics from the University of Massachusetts-Amherst and a PhD in economics from the University of California-Berkeley. His primary research areas include economic effects of political transitions, economic history of slavery and labor institutions, international migration, economic applications of natural language processing.