A standoff between police and a man they say shot another man dead early Wednesday morning in Southeast D.C. has ended, authorities said.

A person has been detained in the incident, according to police, who did not immediately release further details.

According to police, a man was shot overnight in an apartment in the 1700 block of 17th Street, a string of neatly kept two-story row houses near R Street, shortly before 2 a.m. The victim later died from his injuries.

Police say the shooter ran into another residence in the same block and had been in a standoff with police; authorities declared a barricate situation at 3 a.m., and streets in the area were closed to traffic. Most have been reopened.

A SWAT team arrived about 6 a.m., authorities said.

Police have not released detailed information about the suspect or victim, who they said was from Southeast, or what led to the shooting.

This item has been updated.

Read more: The Post’s crime coverage