The shooting occurred around 1:30 a.m. Sunday at the Flats 130 complex near North Capitol and M streets NE. (Lucian Perkins/For The Washington Post)

D.C. police said they are investigating a shooting that happened early Sunday morning at an apartment complex in the NoMa neighborhood of Northeast Washington.

The incident occurred around 1:30 a.m. Sunday at a building at 140 M Street NE, near First and M streets NE. There are several buildings that are part of a complex known as Flats 130.

Police said in a report that a man who told them he lives at the complex came home and found that his apartment door was unlocked and opened. He told authorities he noticed two men “rummaging through his things.”

When the two men noticed the resident, they fled the apartment, according to police. As one of the men was leaving, he shot at the victim, hitting him in the abdomen area. The victim ran for a bit, then was also shot in the buttocks, police said.

The two men left the building using a staircase, witnesses told police.

Blood is seen on the floor and wall after a shooting at Flats 130 in the NoMa neighborhood. (Submitted photo)

The victim was taken to an area hospital where he was treated. A police report said the victim suffered a gunshot wound and a “severe laceration.” The victim was expected to survive, according to the police report.

One of the intruders was said to be around 5 feet 6 inches to 5 feet 8 inches tall, according to police. The other man is described as being between 5 feet 9 inches and 6 feet tall. Police said the men had a semiautomatic handgun.

The complex sits near the NoMa-Gallaudet U Metro stop in an area that has undergone major redevelopment. There’s a Harris Teeter grocery store in the area. Flats 130 is considered to be a more expensive apartment complex. A one-bedroom apartment, for example, rents for roughly $2,300-a-month, on average.

Some residents said that at a Monday meeting, management at the building — Bozzuto Group of Greenbelt — told them that the shooting victim was a guest of a resident and was at a party in the unit. The victim told police he lived in the unit.

Residents of the complex said Monday that they were worried about their safety in the building, despite several layers of security, including having residents use a key fob at several entry points in the building.

“It has a really nice gym, beautiful pool and is overall a nice building, and there’s supposed to be security,” said a man who has lived in the building for about six months. He asked not to be named because he had concerns for his safety. “That basic contract of security has been severely violated.”

In an e-mail to residents, Bozzuto called the shooting incident “tragic” and said it was working with police. Lauren Neuvel, a spokeswoman for Bozzuto Group, said Monday in an e-mail that it is the company’s policy to “not comment on pending investigations.”

In an e-mail to residents, Bozzuto wrote, “We want to reassure you that this was an isolated incident.”

Bozzuto also told residents in several e-mails that since the incident, it has contracted security guards to patrol both Flats 130 and 140. One of the security measures, residents said, is that there is now a 24-hour security guard on the sixth floor — where the incident occurred — who asks passersby for a government-issued photo identification.

Another private security guard has been added to the building’s lobby, according to residents there.