An hours-long standoff between Springfield police and a man outside Baystate Medical Center ended early Wednesday when the suspect fatally shot himself, an official said.

Police Sergeant John Delaney said the man, who allegedly shot his wife on Tuesday and took her to the hospital, shot himself in the head shortly after midnight on Wednesday. Delaney did not identify him.

In a statement released shortly before 10 p.m. on Tuesday, Delaney said that the hospital was in lock-down.

Advertisement - Continue Reading Below

“Subject shot his wife on Piper Road in West [Springfield] after an argument,” said Delaney. “He then brought his wife to Baystate Medical Center in Springfield. He brought her into the ER, and she is going to be OK. She is in good and stable condition.’’

Delaney said the man returned to a red Fiat in the hospital parking lot and placed a gun to his head.

“He is distraught over the shooting and is stating he is going to kill himself,” the sergeant said.

Delaney said officers had surrounded the man’s car and were negotiating with him.

“Nobody in the hospital is in any danger,” Delaney wrote. “All the patients and employees are OK.”

Benjamin C. Craft, a hospital spokesman, said that no shots were fired in the medical center.

David Procopio, a State Police spokesman, said troopers had set up a perimeter around the parking lot as Springfield officers handled negotiations with the armed man.

Hospital officials thanked police early Wednesday on Twitter.

“We’re saddened by tonight’s events, but we’re also thankful for the rapid and strong support of our local and state police,” hospital officials tweeted.