A Boulder County sheriff's deputy shot and killed a 44-year-old man who allegedly brandished a handgun Sunday, according to the sheriff's office.

The deputy has been placed on paid administrative leave, pending an investigation.

The man died at about 1:15 p.m. after he was flown to Denver Health, where he underwent surgery. Several rounds were fired during the incident, according to the sheriff's office.

Officers arrived at a home in the 8300 block of North 95th Street at about 8:45 a.m. Sunday to do a welfare check, according to a sheriff's release. Upon arriving at the home, deputies talked to two women.

One said her 44-year-old son had been making veiled suicide threats and had been in a bedroom for several days.

The woman said her son had no access to weapons. When deputies went to talk to the man, he displayed a handgun and was shot by a deputy, the release said.

The Boulder County Multi-Agency Critical Incident Investigation Team and the district attorney's office will investigate.