1 of 4
Evan Vucci, Associated Press
Police stand outside a Popeyes restaurant during an investigation into the shooting of a Prince George's County police officer outside a police station, on Sunday, March 13, 2016, in Hyattsville, Md.

CHEVERLY, Md. — Two suspects were in custody after a police officer and another person were shot and wounded near a police station in a Maryland suburb of the nation's capital, authorities said Sunday.

Prince George's County Police had originally advised residents near the police station in Landover to stay inside because of an "active shooter" situation. After the second suspect was apprehended, they said on Twitter that they did not think any other suspects were at large.

The shooting occurred at about 4:30 p.m. at community center next to the Landover station in the suburb of Prince George's County, about 10 miles northeast of downtown Washington, D.C.

Alan Doubleday, assistant chief of the Prince George's County Fire and Emergency Services Department, said a person who was shot was taken by ambulance to Prince George's Hospital Center. That person, who was not a police officer, appeared to be in stable condition, Doubleday said.

He said the officer, described by police on Twitter as "critically wounded," was taken to the same hospital by police.

Parked police cars lined road to the hospital Sunday evening. Several officers crowded into the hospital's lobby, quietly waiting to learn details about the officer's condition from their chief. There was no immediate indication on when authorities might speak publicly about the shooting.

Details about what happened were not immediately released, and the suspects weren't immediately identified.

The Prince George's County Police Department's District III station is next door to county police headquarters. Nearby is the Palmer Park Community Center, although a county website listing for the center says it is closed on Sundays.