GUNTOWN, Miss. — As a SWAT team closed in, a fugitive accused of killing a Tennessee mother and daughter before disappearing for nearly two weeks with her two other children killed himself Thursday evening, allowing authorities to safely recover the kidnapped girls, police said.

Adam Mayes, 35, shot himself in the head after authorities, acting on a tip, found him and the girls near New Albany, Miss., said Guntown Police Chief Michael Hall.

Alexandra Bain, 12, and Kyliyah Bain, 8, were taken to a hospital for observation, Hall said. Additional details were not known Thursday night.

Mayes had been charged with first-degree murder in the April 27 deaths of Jo Ann Bain, 31, and her daughter, Adrienne, 14.

Their bodies were found buried outside Mayes’ home a week after they were reported missing by Jo Ann Bain’s husband.

Mayes’ wife, Teresa, also is charged with first-degree murder in the deaths.

She told investigators her husband killed Jo Ann and Adrienne Bain at their Whiteville, Tenn., home so he could abduct the two young sisters, according to court documents.

Teresa Mayes told investigators that after she saw her husband kill the two in the garage at the Bain home, she drove him, the younger girls and the bodies to Mississippi, according to affidavits filed in court.

She faces six felony counts in the case — two first-degree murder charges and four especially aggravated kidnapping charges.

Authorities declined to comment on the motive for the April 27 slayings and abductions.

Mayes’ mother-in-law, Josie Tate, said Mayes thought the missing sisters might be his daughters, and it caused problems in his marriage to her daughter, Teresa.

“She was tired of him doting on those two little girls that he claimed were his,” Tate said.

Adam Mayes’ mother, Mary Mayes, also has been charged with conspiracy to commit especially aggravated kidnapping.

Mary Mayes’ attorney, Terry Dycus, said his client maintains that she is not guilty.