Ammonia
Many organic nitrogen compounds are in animal waste, including urine and guano. In the 19th century the  Distillation (boiling for separation) of nitrogenous vegetable and animal waste was the main source of ammonia. During the 20th century the Haber process using high temperature and pressure with catalysts (things that make reactions faster) became the main source.