The sheriff's department said in a statement Monday two officers from the Roseburg police were trying to take the man into custody Saturday afternoon because he was jumping on vehicles near the Douglas County Courthouse.

The officers said the man wouldn't comply, and soon after the use of the stun gun and spray he had what the sheriff's office called "a medical emergency" and died.

An autopsy is planned this week. The sheriff's office said it would lead an investigation.