Let $a$ be a prime element in PID. Show that $R/(a)$ is a field.
My attempt: Since $a$ is prime, $(a)$ is a prime ideal of $R$. Since $R$ is a PID, every nonzero prime ideal of $R$ is maximal. This implies that $(a)$ is maximal and hence $R/(a)$ is a field.
Is my proof correct?