A Mississippi Bureau of Narcotics law enforcement officer assigned to a SWAT team was killed early Saturday after an hours-long standoff in rural north Mississippi ended in gunfire, authorities said.

Officials said James Lee Tartt, 44, of Grenada, was killed in the line of duty in the standoff situation at a home near the town of Iuka in Tishomingo County.

Three state troopers with the SWAT team were wounded in the shootout and taken to area hospitals.

Two of the wounded had wounds that were not considered life-threatening. The condition of the third was unclear Saturday morning.

Tishomingo County Coroner Mack Wilemon said the gunfire came after a standoff developed at a house where police had responded to some kind of domestic disturbance Friday evening.

A state SWAT team was summoned and six hours later around midnight was forcing its way into the house when the gunfire erupted, Wilemon said.

"They negotiated. They must have decided it wasn't going too well. The SWAT team stormed the house," Wilemon said.

Wilemon identified the suspected gunman as Charles Lambert of Iuka, 45.

Lambert had holed up in the house with his wife and 10-year-old daughter. Neither was injured.

Tartt had been with the narcotics bureau for 16 years, according to Fox affiliate MS News Now. In 2011 he was named the bureau’s Agent of the Year award and and in 2012 he received the H. Lane Caldwell Award of Valor.

He is survived by his wife and two children, the station reported.

Mississippi Gov. Phil Bryant expressed his condolences to Tartt’s family, according to the Jackson Clarion-Ledger.

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

The Associated Press contributed to this report.