Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A deputy was killed and another was in critical condition Sunday night after responding to a report of a neighbor who was upset about a cookout, authorities said.

Peach County Coroner Kerry Rooks identified the slain deputy as Patrick Sondron, 41, of the Peach County Sheriff's Office. He was pronounced dead at 6:40 p.m. at the Medical Center of Peach County, Rooks said.

Rooks said the second deputy, who has not been identified, remained in critical condition.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The alleged shooter, who was not identified, was also shot, Rooks added. He did not know the shooter's condition.

J.T. Ricketson, a special agent with the Georgia Bureau of Investigation, told NBC News the shooting occurred after an argument during a cookout in a rural section of Peach County, south of Macon. An angry neighbor confronted two people with a weapon who had been using a four-wheeler and a motorcycle in the area, Ricketson said.

The people from the cookout called the police, and deputies were walking up the driveway to neighbor's home for an interview when "they took fire," Ricketson said. "They both went down."

When more officers responded, Ricketson added, "they exchanged fire with the subject, who was struck at least once."

The shooting comes four days after a man in Des Moines, Iowa, killed two police officers in what authorities described as an "ambush-style attack."

Scott Michael Greene, 46, was arrested Wednesday morning after a manhunt. NBC station WHO of Des Moines reported that Greene appeared to have posted a YouTube video last month that showed him arguing with authorities after he was asked to leave a high school football game for displaying a Confederate flag.

In 2014, Greene was charged with harassment and with interfering with official acts after refusing to allow a police officer to pat him down to check for a weapon, The Associated Press reported.