We report the first nitrogen-containing iron-pnictide superconductor ThFeAsN, which is synthesized by a solid-state reaction in an evacuated container. The compound crystallizes in a ZrCuSiAs-type structure with the space group P4/nmm and lattice parameters a = 4.0367(1) Å and c = 8.5262(2) Å at 300 K. The electrical resistivity and dc magnetic susceptibility measurements indicate superconductivity at 30 K for the nominally undoped ThFeAsN.