Consider $\mathbb{Z[\sqrt{-5}]}=a+b\sqrt{-5}$ where $a,b \in \mathbb{Z}$. My understanding is that an integral domain is a PID if every ideal in the ring is principal.
For the above example, this I can see that it is an integral domain because it's a subring of $\mathbb{C}$, which contains 1. My issue comes with showing the 'principal' part, where I'm not quite sure where to start.