JACKSON, Miss. (AP) — One law enforcement officer was killed and three were wounded early Saturday after a six-hour long standoff at a rural Mississippi house ended when authorities stormed the house and the gunman inside opened fire, authorities said.

Also killed was the man suspected of firing on the officers.

The standoff started Friday afternoon when authorities responded to a domestic dispute call at the home in rural northeastern Mississippi, authorities said.

An overview of the scene of a shooting near Luka, Miss., Saturday, Feb. 20, 2016. Multiple law enforcement officers were injured after an hours-long standoff. (AP Photo/Michael H. Miller)

An overview of the scene of a shooting near Luka, Miss., Saturday, Feb. 20, 2016. Multiple law enforcement officers were injured after an hours-long standoff. (AP Photo/Michael H. Miller)

But the man, holed up in his home with his wife and 10-year-old daughter, refused to come out, sparking a six-hour standoff with officers outside, said Department of Public Safety spokesman Warren Strain.

Strain said man wasn’t shooting at officers before they entered the house but they had tried to talk with him for six hours and had fundamentally exhausted negotiations.

Charles Lee Lambert (Image source: Mississippi Department of Public Safety)

Charles Lee Lambert (Image source: Mississippi Department of Public Safety)

The woman and child were rescued, said Strain. But the man was killed after he opened fire as tactical teams entered the home.

Multiple police agencies remained on the scene Saturday afternoon at the one-story house in sparsely populated woods in Tishomingo County.

Killed were James Lee Tartt, 44, who was a Mississippi narcotics agent, and suspected gunman Charles Lee Lambert, who was 45. The high-powered rifle Lambert used was also recovered from inside the house.

Tartt’s family described him as a dedicated officer who had spent most of his career battling drugs.

“He was just a really good guy, and he wanted to make the world a better place. Ever since I’ve known him he has always been the type who would do anything to make the world a better place,” said Julia Criss Tartt, the aunt of the slain officer.

Her husband, Don Tartt, who is the slain officer’s uncle, said Lee Tartt and his wife had just moved into a new house that the officer had been building for the last two years. They had married about a year ago, said Don Tartt, adding that Lee Tartt’s new wife had two children who became his stepchildren when they married.

Last fall Lee Tartt ran for sheriff in Grenada county but lost to an incumbent, said his aunt.

The slain officer was raised in Mississippi and was a “country boy” who loved to fish and hunt, said Don Tartt. In addition to his work as a narcotics agent Lee was also part of an area SWAT team that would respond to situations like the Friday night standoff.

Don Tartt said his daughter is Donna Tartt, the author who has written such books as “The Secret History” and “The Goldfinch,” and she was a cousin of the slain officer.

This is an undated photograph shows Lee Tartt, an agent with the Mississippi Bureau of Narcotics. (Mississippi Department of Public Safety, via AP)

This is an undated photograph shows Lee Tartt, an agent with the Mississippi Bureau of Narcotics. (Mississippi Department of Public Safety, via AP)

“Lee has always been a kind of dedicated kid,” said Don Tartt. “It’s just sad that he had to meet the end like he did, but when you’re in law enforcement you have to expect that.”

Three state troopers who entered the home were wounded. The most seriously wounded officer was out of surgery Saturday and in critical but stable condition at a hospital in Corinth, said Strain.

The other two officers were in fair condition at hospitals in Memphis and Tupelo, Strain said.

Mississippi Gov. Phil Bryant called on the state’s residents to pray for Tartt’s family.

“Our men and women in law enforcement put themselves in harm’s way every hour of every shift. This is a tragic reminder that their willingness to serve can exact the highest price,” Bryant said.

Tartt was a decorated officer who had been in law enforcement for 22 years. He joined the narcotics bureau in 2000 and in 2011 had been honored as agent of the year, Strain said.

Strain said Tartt is the fifth Miss. Bureau of Narcotics agent killed in agency’s 45-year history. The last agent killed was in 1998.