According to lore of ceremonial magic each of the seven planets of ancient astrology has a spiritual entity associated with it. These entities rule over each planet. In some magical traditions the planet may be considered good, its ruling spirit may be thought to be evil while others consider it just a blind spiritual force that requires intelligence guidance if it is to accomplish good.
Source:
Greer, John Michael.The New Encyclopedia of the Occult. St. Paul, MN, Llewellyn Worldwide. p. 244