Indian astronomy has a long history dating back to the Vedanga-jyotisha text from 1400 BCE. Key developments include Aryabhata's theory of Earth's rotation in 499 CE and Bhaskara II's non-circular planetary orbits in the 12th century. Indian astronomers made many advances in mathematics needed for accurate astronomical computations, including early work on trigonometric functions and the value of pi. Their models incorporated epicycles and were later revised by Nilakantha Somayaji in the 15th century to resemble a rudimentary heliocentric system.