A police officer died on the operating table after he was shot in a Tuesday afternoon gunfight with an armed suspect in a park near a Dallas-area school.

Euless Police Chief Mike Brown said the suspect also died of multiple gunshot wounds in the 3 p.m. shootout at J.A. Carr Park. No identities were immediately released.

Brown said officers were responding to a report of shots fired near the park, which is in a residential area near an elementary school.

"Upon arrival, officers encountered a suspect with an unknown weapon," Brown said. "The suspect immediately fired upon officers, striking one of them. Officers returned fire, striking the suspect."

Two nearby schools were placed on lockdown until the situation was resolved.

The officer is the second to die in the line of duty in Euless, a suburb of more than 53,000 residents about 17 miles west of Dallas and 15 miles east of Fort Worth. The other officer who died was Michael Williamson, who was killed by a drunken driver in 1982, according to the city website.