Let $R$ be commutative ring with identity that contains a field $K$ as a subring. If$ $R is a finite dimensional vector space over the field $K$, prove that every prime ideal in $R$ will be maximal.
My idea was to prove the integral domain $R/p$ (if $p$ is a prime ideal) was a field as for any ideal $P$, $R/P$ will be a field iff $P$ is maximal in $R$. But how can I use the fact that $R$ is finite dimensional over $K$? I don't understand.