While Westerners often associate the invention of calculus with 17th century European luminaries like Isaac Newton and Gottfried Leibniz, its theoretical foundations actually stretch back millennia. Fundamental theorems appear in ancient Egyptian work from 1820 BC, and later influences sprout from Babylonian, Ancient Greek, Chinese and Middle Eastern texts.