Histidine is synthesized from phosphoribosyl pyrophosphate (PRPP), which is made from ribose-5-phosphate by ribose-phosphate diphosphokinase in the pentose phosphate pathway. The first reaction of histidine biosynthesis is the condensation of PRPP and adenosine triphosphate (ATP) by the enzyme ATP-phosphoribosyl transferase. ATP-phosphoribosyl transferase is indicated by His1 in the image. His4 gene product then hydrolyzes the product of the condensation, phosphoribosyl-ATP, producing phosphoribosyl-AMP (PRAMP), which is an irreversible step. His4 then catalyzes the formation of phosphoribosylformiminoAICAR-phosphate, which is then converted to phosphoribulosylformimino-AICAR-P by the His6 gene product. His7 splits phosphoribulosylformimino-AICAR-P to form -erythro-imidazole-glycerol-phosphate. After, His3 forms imidazole acetol-phosphate releasing water. His5 then makes -histidinol-phosphate, which is then hydrolyzed by His2 making histidinol. His4 catalyzes the oxidation of -histidinol to form -histidinal, an amino aldehyde. In the last step, -histidinal is converted to -histidine.