Police shot and killed a person in Malvern on Thursday morning after that person brandished a firearm at an officer during a welfare check, law enforcement officials said.

In a brief statement, Chester County District Attorney Deb Ryan’s office said the shooting happened after officers responded to a call at a townhome complex on the 800 block of Charleston Greene to perform a welfare check. The person’s name and gender have not been released.

“During the course of the investigation, the subject displayed a firearm, and a struggle ensued,” Ryan’s office said in a statement. “An officer-involved shooting occurred, and the subject was fatally shot.”

Chester County detectives are investigating the shooting, which Ryan’s office referred to as “an isolated incident.”

A spokesperson for the DA declined to answer further questions, including how many officers were present and how many shots were fired.

Reached by phone, the Malvern Police Department declined to comment. The Chester County Commissioners’ office did not return repeated calls.