This was the punishment that astrologers received for violating certain regulations around astrology. (Their clients were executed.)