I'm trying to determine whether $\mathbb{Z}[X]/(X^2+1)$ is an ID, UFD, PID, field.
My progress so far: I know that field $\Rightarrow$ PID $\Rightarrow$ UFD $\Rightarrow$ ID. The units of the ring are $\pm 1$, $\pm X$ (by considering $(aX+b)(cX+d)=1$, equating coefficients and using that $X^2 + 1 = 0$). So the ring isn't a field as not every element is a unit.
How should I continue?