Seven people were shot and wounded in the District Wednesday night and early Thursday, according to D.C. police, bringing to 21 the number of people struck by gunfire in the city since Friday night.

One of this week’s victims, shot on Friday in Northwest Washington, has died.

A man shot in Northeast on Wednesday night was unconscious when he went to the hospital and was reported in grave condition Thursday morning, according to a police spokesman. The man was one of four people shot in a matter of six minutes and a few blocks apart.

District authorities have not provided many details or motives for much of this week’s violence. There were two shootings with multiple victims in addition to the latest one on Thursday — six people were shot Sunday near Nationals Park in Southwest, and four were shot Friday in Northeast. Two others were shot in Southeast over the weekend.

An off-duty D.C. police detective was shot four times during a carjacking attempt early Wednesday in Southeast, and another off-duty officer was shot at in her personal car during the same incident. That officer was not struck.

D.C. police reported a surge in carjackings and shootings that began Friday night and continued into the new week. The carjackings occurred in Police Districts 6 and 7, historically the city’s most violent precincts; the shootings were scattered across much of the city. Despite, the recent outburst, violent crime is generally down this year compared with the same period last year. Homicides, however, are an exception. There have been at least 15 more homicides citywide this year than had been reported at this time last year.

The detective, a 24-year veteran, was in stable condition at an area hospital. Officials said he is expected to survive. Police have arrested one suspect, Romeo Hayes, 27, of Southwest, and charged him with two counts of assault with intent to kill, one for each officer who came under attack. Hayes was expected to appear in D.C. Superior Court Thursday afternoon.

The latest District shooting occurred Thursday about 1:40 a.m. near Seventh and N streets Northwest, in Shaw. Officer Araz Alali, a D.C. police spokesman, said a man was shot once and was taken to a hospital for treatment of minor injuries.

About 1:10 a.m., Alali said, a man was shot in the 3300 block of Croffut Place SE, near the Greenway neighborhood along the Anacostia Freeway. Police said his wounds also were believed not to be life-threatening. Alali said a woman was grazed by a bullet about 11 p.m. Wednesday at Martin Luther King Jr. Avenue and Malcolm X Street, also in Southeast.

Four people were shot in Northeast shortly after 9:30 p.m. Police said they responded to reports of gunfire at 46th Place and Central Avenue. Police said two men were found shot there, including the one now in grave condition. The other suffered minor injuries, police said.

Two more victims, also not seriously wounded, according to police, were found six minutes later and several blocks away. It was not immediately clear whether they had been shot on 46th Place and ran or were wounded in additional gunfire.

Get updates on your area delivered via e-mail