History of pharmacy
The history of pharmacy as an independent science is quite old. The origins of historiography pharmaceutical back to the first third of the 19th century which is when the first historiographies that while not touching all aspects of pharmaceutical history is the starting point for the final start of this science.
Prehistoric pharmacy 
Paleopharmacological studies attest to the use of medicinal plants in pre-history.
The earliest known compilation of medicinal substances was the Sushruta Samhita, an Indian Ayurvedic treatise attributed to Sushruta in the 6th century BC. However, the earliest text as preserved dates to the 3rd or 4th century AD. India has a great history of medicine and patient care. Great Indian philosophers who did remarkable service to the world by writing medical books are Sushrutha muni (Sushrutha Sanhitha),Charaka Muni(Charaka Sanhitha),Sharngadara Muni(Sharngadara Sanhitha). Those 2 books are the pioneering books of Ancient Indian Ayurvedic knowledge.
The earliest known Chinese manual on materia medica is the Shennong Bencao Jing (The Divine Farmer's Herb-Root Classic), dating back to the 1st century AD. It was compiled during the Han dynasty and was attributed to the mythical Shennong. Earlier literature included lists of prescriptions for specific ailments, exemplified by a manuscript "Recipes for 52 Ailments", found in the Mawangdui tomb, sealed in 168 BC. Further details on Chinese pharmacy can be found in the Pharmacy in China article.
In Ancient Greece, according to Edward Kremers and Glenn Sonnedecker, "before, during and after the time of Hippocrates there was a group of experts in medicinal plants. Probably the most important representative of these rhizotomoi was Diocles of Carystus (4th century BC). He is considered to be the source for all Greek pharmacotherapeutic treatises between the time of Theophrastus and Dioscorides." The Greek physician Pedanius Dioscorides is famous for writing a five volume book in his native Greek Περί ύλης ιατρικής in the 1st century AD. The Latin translation De Materia Medica (Concerning medical substances) was used a basis for many medieval texts, and was built upon by many middle eastern scientists during the Islamic Golden Age. The title coined the term materia medica.
In Japan, at the end of the Asuka period (538-710) and the early Nara period (710-794), the men who fulfilled roles similar to those of modern pharmacists were highly respected. The place of pharmacists in society was expressly defined in the Taihō Code (701) and re-stated in the Yōrō Code (718). Ranked positions in the pre-Heian Imperial court were established; and this organizational structure remained largely intact until the Meiji Restoration (1868). In this highly stable hierarchy, the pharmacists—and even pharmacist assistants—were assigned status superior to all others in health-related fields such as physicians and acupuncturists. In the Imperial household, the pharmacist was even ranked above the two personal physicians of the Emperor.
Middle Ages 
The advances made in the Middle East in botany and chemistry led medicine in medieval Islam substantially to develop pharmacology. Muhammad ibn Zakarīya Rāzi (Rhazes) (865-915), for instance, acted to promote the medical uses of chemical compounds. Abu al-Qasim al-Zahrawi (Abulcasis) (936-1013) pioneered the preparation of medicines by sublimation and distillation. His Liber servitoris is of particular interest, as it provides the reader with recipes and explains how to prepare the `simples’ from which were compounded the complex drugs then generally used. Sabur Ibn Sahl (d 869), was, however, the first physician to initiate pharmacopoedia, describing a large variety of drugs and remedies for ailments. Al-Biruni (973-1050) wrote one of the most valuable Islamic works on pharmacology entitled Kitab al-Saydalah (The Book of Drugs), where he gave detailed knowledge of the properties of drugs and outlined the role of pharmacy and the functions and duties of the pharmacist. Ibn Sina (Avicenna), too, described no less than 700 preparations, their properties, mode of action and their indications. He devoted in fact a whole volume to simple drugs in The Canon of Medicine. Of great impact were also the works by al-Maridini of Baghdad and Cairo, and Ibn al-Wafid (1008–1074), both of which were printed in Latin more than fifty times, appearing as De Medicinis universalibus et particularibus by `Mesue' the younger, and the Medicamentis simplicibus by `Abenguefit'. Peter of Abano (1250–1316) translated and added a supplement to the work of al-Maridini under the title De Veneris. Al-Muwaffaq’s contributions in the field are also pioneering. Living in the 10th century, he wrote The foundations of the true properties of Remedies, amongst others describing arsenious oxide, and being acquainted with silicic acid. He made clear distinction between sodium carbonate and potassium carbonate, and drew attention to the poisonous nature of copper compounds, especially copper vitriol, and also lead compounds. He also describes the distillation of sea-water for drinking.
In Europe pharmacy-like shops began to appear during the 12th century. In 1240 emperor Frederic II issued a decree by which the physician's and the apothecary's professions were separated. The first pharmacy in Europe (still working) was opened in 1241 in Trier, Germany.
In Europe there are old pharmacies still operating in Dubrovnik, Croatia located inside the Franciscan monastery, opened in 1317 ; and one in the Town Hall Square of Tallinn, Estonia dating from at least 1422.
The oldest is claimed to be set up in 1221 in the Church of Santa Maria Novella in Florence, Italy, which now houses a perfume museum. The medieval Esteve Pharmacy, located in Llívia, a Catalan enclave close to Puigcerdà, is also now a museum dating back to the 15th century, keeping albarellos from the 16th and 17th centuries, old prescription books and antique drugs.
See also 
- Ellis, Linda (2000). Archaeological Method and Theory: An Encyclopedia. Taylor & Francis. pp. 443–448. ISBN 978-0-8153-1305-2.
- John K. Borchardt (2002). "The Beginnings of Drug Therapy: Ancient Mesopotamian Medicine". Drug News & Perspectives 15 (3): 187–192. doi:10.1358/dnp.2002.15.3.840015. ISSN 0214-0934. PMID 12677263.
- Edward Kremers, Glenn Sonnedecker (1986). "Kremers and Urdang's History of pharmacy". Amer. Inst. History of Pharmacy. p.17. ISBN 0-931292-17-4
- Titsingh, Isaac. (1834) Annales des empereurs du japon, p. 434.
- Hadzovic, S (1997). "Pharmacy and the great contribution of Arab-Islamic science to its development". Medicinski Arhiv (in Croatian) 51 (1-2): 47–50. ISSN 0025-8083. OCLC 32564530. PMID 9324574.
- al-Ghazal, Sharif Kaf (October 2003). "The valuable contributions of Al-Razi (Rhazes) in the history of pharmacy during the Middle Ages" (pdf). Journal of the International Society for the History of Islamic Medicine 2 (4): 9–11. ISSN 1303-667X. OCLC 54045642.
- Levey M. (1973), ‘ Early Arabic Pharmacology’, E. J. Brill; Leiden.
- History of Pharmacy Web Pages - Sweden´s oldest pharmacies