Seven people were shot Saturday night at a birthday party for a toddler in Prince George’s County, police said.

Fire department spokesman Mark Brady said seven people were taken to hospitals. Cpl. Nicholas Clayton, a county police spokesman, said three were in critical condition and the others were in stable condition. Their ages ranged from 18 to 20, he said.

It was not clear what led to the gunfire, but county Police Chief Hank Stawinski said it occurred at a birthday party for a 2-year-old. The shooting was reported about 9 p.m. in the 6200 block of Maxwell Drive in the Suitland/Camp Springs area.

No information about any suspect was available. However, Stawinski, speaking at the scene, pledged that police would find whoever fired the shots.

“This has got to end,” he said. The police, he said, were “going to get to the bottom” of the incident.

As of late Saturday, Clayton said it was unclear who fired the shots, or how many assailants were involved. He knew of no one in custody, he said.

A resident of the block said she heard the sound of gunfire.

She said she counted six people brought out from an apartment house where she thought the shooting occurred, but it was not clear late Saturday whether the shooting occurred indoors or outdoors. Clayton said those at the party gathered both indoors and outdoors.

Speaking of the wounded, the resident said rescue personnel “took them out on stretchers,” she said.

The six she saw included one person who was apparently shot outdoors. He was found on a walkway, she said.

She said she could not specify a cause for Saturday night’s gunfire.

Another resident of the area said she also heard the gunfire.

At least five shots were audible, she said.

From the sounds, she said, they may have been fired on or near Carswell Avenue, which is at the north end of Maxwell.

After Saturday night’s shooting, the first woman said, police swarmed into the street.

“So many policemen,” she said. “I never saw so many policemen.”

Maxwell is a street about a half-mile long lined with long, low-rise apartment houses with peaked roofs.

The buildings are surrounded by grassy areas, and many marked parking spaces are also found along the street.

It is just south of Interstate 495 and west of Joint Base Andrews, between Auth and Allentown roads.