Existence of certain ring morphisms

Let Z[i]={a+bi∣a,b∈Z,i2=−1}, a subring of C. Prove there is no ring homomorphism Z[i]→Z19, but there is a ring homomorphism Z[i]→Z13. Note a ring homomorphism of commutative rings with 1 must send 1 to 1.

Hint: The group of units in Z19 is the cyclic group U(19) of order 18, and the group of units in Z13 is the cyclic group U(13) of order 12.