Taiyania Thompson, 16, of Northeast Washington is pictured in an undated photo. She was fatally shot Jan. 25 in Northeast’s Ivy City neighborhood. (N/A/Family photo)

D.C. police announced Tuesday that they have arrested a man in the killing of a 16-year-old girl who was shot in the head in an apartment in Northeast Washington.

Dekale Bowman, 18, of ­Northeast was charged with ­second-degree murder while armed. He was ordered detained until a preliminary hearing March 8. A woman who answered the phone at his house declined to comment, and his attorney could not be reached to comment.

The victim was identified as Bowman's girlfriend, Taiyania Thompson, a high school sophomore.

The shooting occurred Thursday afternoon in an apartment in the 1000 block of Mount Olivet Road NE, in Ivy City near Gallaudet University. Taiyania died Sunday.

An arrest affidavit filed in D.C. Superior Court says that Taiyania was shot while sitting on a living room couch and that the suspected gunman told a witness that the shooting was an accident. According to the affidavit, Bowman told the witness: "I love her. I did not mean to do it." The witness told police that Bowman said they were both "fooling around with their dogs and junk, that she had pointed hers at me and I pointed mine at her, and pow, it just went off."

Police said they found several bullets, empty bullet cartridges and holsters inside the apartment, as well as suspected drugs.

Taiyania's aunt, Erikka Carter, said the family is pleased that there was an arrest but added that neither she nor other relatives had heard of Bowman. Police said the two young people had been dating for eight months.

"Rest assured, we want to be in court to find out who he is and why this happened," Carter said.