Astronomy is the real science that was in part based on astrological observations. Science itself is not nearly as old as astrology. Even in Newton did not use the word scientist, calling himself a philosopher. Modern science now uses the scientific method for finding out how or if things work.
Astrology was, in its beginnings, a genuine search for knowledge——an attempt to find, in the configurations of the stars and planets, some meaning for humans that might enable them to ascertain something about the future, as if that future were written, obscurely but gloriously, in the heavenly patterns that nightly present themselves to observers.