The man who died after Edmonton police used a stun gun on him had a criminal record that dated back to the 1990s, CBC News has learned.

Simon Chung, 39, was just released a few weeks ago from jail where he was being held on drug charges laid in June, sources say.

Chung's criminal record goes back to the 1990s and includes two convictions from 2011, one for death threats to cause bodily harm and another for possession of a weapon — a knife.

Chung was scheduled to appear in court this week for two assault charges laid in April to which he has pleaded not guilty.

Chung died in hospital Wednesday after police used a Taser on him three times near 96th Street and 106A Avenue one week earlier.

A witness told CBC News Chung was resisting arrest and fighting with officers.

The Alberta Serious Incident Response Team, the civilian agency that looks into incidents or complaints involving serious injury or death that may have resulted from the actions of a police, is investigating.