As the newly formed Muslim caliphate extended beyond the Arabian Peninsula, it encountered Persian, Hellenistic, and Indian forms of astrology, integrating them into a refined science that would reach its medieval peak in Baghdad, a city whose fortune and fate would be foretold by the stars.