In Persia, the first prophet who laid the foundation for Sun worship (Mithraism) was called Mehabad. He was a pious ruler, born 3,593 years before the birth of the Prophet Zoroaster. He laid the foundation of monotheism, Divine worship and a constitution based on justice which was known as the Mitradad.
In the the year 660 AD, the Prophet Zoroaster was born.
According to the Dinkard, the Zoroastrian canon in Pahlavi, Book IV: 'All knowledge and sciences was received by Zoroaster from Ahura Mazda and transmitted through the Avesta'.
A five part astronomical work, called 'The Book of Nativities', was written by Zoroaster. It was translated by Mahankard, a Persian scholar from among the books of Zoroaster. Later on it was published in Arabic in 750 AD (Kitab Al-Mawalid), from the original Pahlavi.
The astrology that Persians taught was quite different from both the Hindu and the Chaldean-Greek traditions. It had orbs of aspect, the Great Cycles of Jupiter and Saturn, all of the elaborate systems of planetary interactions such as Frustration, Abscission of Light, Translation of Light and so forth. Many of the great astrologers from the Middle East were Persians.
But between the destruction of Persia by Alexander, and the Arab conquest, the Persian Astronomical texts were dispersed throughout the world, especially India, China, and Byzantium.
Astrological knowledge was mainly possessed by the priests, in the Chaldean, Egyptian, Persian and Indo-Aryan culture, and were advisers to the kings in ancient times.