Principal Ideal Domain are Unique Factorisation Domains

Let be a PID then

is a UFD