The early history of pharmacy began in antiquity with priests, doctors, and apothecaries performing the roles of pharmacists. Notable developments include ancient Sumerians and Egyptians documenting herbal remedies in clay tablets as early as 3000 BC. The earliest Chinese pharmacopeia was Shen Nong's Materia Medica from 2000 BC. Hippocrates established rational medicine in Greece in the 5th century BC. During this period, pharmacy evolved from a priestly art to an applied science practiced by trained professionals in temples and palaces across ancient civilizations.