GO:0004397: histidine ammonia-lyase activity
Catalysis of the reaction: L-histidine = urocanate + NH3.