Roman law evolved alongside the state, then reemerged more than half a millennium after the Western Empire fell to become the legal framework of medieval and early modern Europe. It later inspired civil codes used across two-thirds of the globe today. The pivotal link between these two eras is the Digest, the most ambitious compilation project in history, which took three years and saw Emperor Justinian's commission condense a million lines of commentary into a definitive text.