A man shot himself in the neck and then held emergency and law enforcement personnel at bay for almost two hours Sunday afternoon.

Lance Bankhead, 30, surrendered at about 4 p.m. and was taken by air ambulance to LDS Hospital. He was listed in critical condition Sunday night but was upgraded to serious condition Monday.Salt Lake County sheriff's deputy Peggy Faulkner said the incident began at 1:45 p.m., when dispatchers received a call that a man had accidentally or intentionally shot himself inside a house at 2891 S. 9100 West.

When paramedics arrived on the scene, the man was bleeding profusely but refused medical treatment and threatened to shoot anyone who entered the home, Faulkner said.

At that point, the paramedics withdrew and summoned sheriff's deputies, who evacuated nearby homes and sealed off the neighborhood. A SWAT team then surrounded the house while a negotiator talked to the man inside by telephone.

"We needed to get him out of there to save his life," Faulkner said. She added that the man had not threatened to harm his girlfriend who was also in the house.

After a tense standoff, the man surrendered. However, he continued to resist medical treatment and had to be restrained as he was taken aboard the helicopter.