A former nurse from Minnesota who admitted going online and encouraging people to kill themselves is out of jail.

William Melchert-Dinkel of Faribault had to serve nearly six months in jail as part of a sentence handed down in October.

KARE-TV, an NBC station in Minneapolis, reports that Melchert-Dinkel was released from Rice County Jail on Wednesday. He got out early because of time already served.

Nadia Kajouji, a Carleton University student, killed herself in 2008. (Facebook)

The 52-year-old ex-nurse was sentenced to three years in prison in the deaths of an English man and a Canadian woman, but he won't have to serve the prison term if he complies with conditions of his probation that included the jail time.

Melchert-Dinkel will be on probation for the next 10 years.

He had admitted going online and encouraging 18-year-old Nadia Kajouji of Brampton, Ont., to kill herself. She was a student at Ottawa's Carleton University when she jumped into the Rideau River in 2008.

The other person the former nurse Melchert-Dinkel talked to online about committing suicide, 32-year-old Mark Drybrough of Coventry, England, hanged himself in 2005.

Melchert-Dinkel was convicted of assisting in Drybrough's suicide and attempting to assist Kajouji in taking her own life.