COQUITLAM, B.C. -- British Columbia's police watchdog is investigating the death of a man who died in custody in Coquitlam after he was shot with a stun gun.

The RCMP says they received a call late Wednesday night about an agitated man trying to break into homes in the 1500 block of Balmoral Drive.

The Mounties say one caller described a man confronting a homeowner with a large stick, and officers later found the suspect severely injured and bleeding in a home.

The RCMP says officers used a stun gun and a physical confrontation ensued.

The man was taken into custody and soon after went into medical distress.

Emergency Health Services performed CPR and took the man to hospital, where police say he was pronounced dead shortly before midnight.

The RCMP says it won't release any further information on the incident because it is being investigated by the Independent Investigations Office.