 Deifying the sun and its astrological significance occurred as early as the Vedic period and was recorded in the Vedas.The earliest work of astrology recorded in India is the Vedanga Jyotisha which began to be compiled in the 14th century BCE.It was possibly based on works from the Indus Valley Civilization as well as various foreign influences.