Pharmacological inhibition of O-GlcNAcase, the enzyme removing O-GlcNAc from proteins, resulted in clinically relevant reductions of systemic ammonia in both genetic (hypomorphic mouse model of propionic acidemia) and acquired (thioacetamide-induced acute liver failure) mouse models of liver diseases. The gene discussed is OGA; the disease is acute liver failure.