The Boulder County Coroner's Office identified the man who shot himself at a halfway house Monday after a brief standoff with Boulder County sheriff's deputies as John Javorek, 39.

Coroner Emma Hall said in a news release that Javorek died Monday at Boulder Community Hospital.

According to officials, two sheriff's deputies went to the Boulder Community Transition Center, 1770 Canyon Blvd., to return a man to jail after he violated probation, but he pulled out a gun. The deputies then drew their guns in response.

Boulder police were about to send a negotiator, but the man shot himself in the head.

Javorek was a "day reporting client" at the halfway house, which means he wasn't a resident but instead checked in daily or close to daily. Officials said the man was on probation after being convicted of driving while ability impaired.

According to court records, Javorek was arrested on suspicion of driving under the influence in 2011 and ultimately pleaded guilty to driving while ability impaired. He was sentenced to jail and 18 months of probation, but in June he had his probation revoked and went back to jail for 60 days before having his probation reinstated.

Officials have not yet said what the recent complaint was against Javorek.

Boulder County chief probation officer Greg Brown said his office did not file a complaint against Javorek and could not say what violation he may have committed.

It is a standard condition of any probation agreement in Boulder County that the offender not use drugs or alcohol during the probation period, Brown said. He said failed drug tests are part of a probation client's medical records, and their privacy is protected under the federal Health Insurance Portability and Accountability Act, or HIPAA.

An autopsy has been completed in the case, but the autopsy report is not available to the public at this time. Hall will conduct an investigation to determine the official cause and manner of death.

Camera Staff Writer Joe Rubino contributed to this report.

Emergency crews wheel the body of a man out of a Boulder halfway house after an apparent self-inflicted gunshot wound Monday. (Paul Aiken / Daily Camera)