It was also used in the extracting of Woad from the root of the plant Isatis Tinctoria I assume due to the ammonia or urea present being need to extract and "fix" the dye and Elizabeth I forbade any works producing it within a mile of any of her palaces because of the stench!!!