SEATTLE -- A coroner in Washington state on Saturday released the identity of a gunman and three of his four victims in what authorities described as a mass shooting and suicide.

David Wayne Campbell, 51, shot and killed himself Friday in front of police who said they tried for more than three hours to get him to surrender, said Mason County Coroner Wes Stockwell.

In an outbuilding on the remote, wooded property near Belfair, southwest of Seattle, authorities found four bodies, including those of his wife of six years, Lana J. Carlson, 49, and her sons, Quinn and Tory Carlson, who were 16 and 18, respectively.

Get Breaking News Delivered to Your Inbox

Stockwell said he was withholding the identity of the fourth victim pending notification of relatives.

On Friday morning, Campbell called a police officer he previously knew and reported that he had shot his family. The officer traveled across Puget Sound from Seattle and responded to the home, as did a Mason County SWAT team.

For 3 1/2 hours, a deputy sergeant tried to persuade the man to surrender, but he finally walked outside and shot himself, the sheriff's office said.

Police officers take cover behind vehicles lining the road during a standoff at a rural property near Belfair, Washington, February 26, 2016 in this handout photo provided by Mason County Sheriff's Office in Shelton, Washington. REUTERS

A 12-year-old girl was able to escape the house and survive, CBS affiliate KIRO reported. She was taken to a hospital, but she had not been shot, authorities said.

"Apparently she's OK," Chief Deputy Ryan Spurling said. "I don't know if this is a daughter, or stepdaughter, or what the relationship is, but she escaped from the house."

"It's a terrible tragedy," said Sheriff Casey Salisbury. "It's just as tragic I think for law enforcement and the emergency service workers that are up there as well."

Authorities did not detail the previous interaction between the shooter and the officer he called.

Jack Pigott, who lives down the road, said he heard gunshots Thursday night but none Friday.

Campbell and Carlson were married in November 2009, King County records show. The wife had two teenage sons who were adopted from Russia during a previous marriage, Pigott said, as well as a daughter who was adopted from China. Her previous husband died of cancer, he said.

Campbell ran a business called Campbell Family Heating and Air Conditioning, according to state records, while Carlson -- who also went by Lana Jane Campbell -- had registered a business called Crispy Edges. She had purchased a food truck, and she and Campbell had been working on the truck but had not been able to secure the county permits needed to operate it, Pigott said.

The neighbor also said Campbell had recently been hospitalized, but he didn't know why.

"He's heavily medicated with something," Pigott said. "I've never seen him drinking."

It was common for the family to do shooting practice, Pigott said. That's what he assumed Thursday's gunfire was.

"I was getting a load of wood into the house, and I hear some gunshots," he said. "Four or five, a pause and then another round."

Neighbor Dawn Erickson told KIRO she also heard "lots of shooting" on Thursday night.