A Virginia state trooper and gunman are dead after a shootout at a Greyhound bus terminal in Richmond Thursday that wounded two others, state police said.

Colonel W. Steven Flaherty, Chief of the Virginia State Police, said Trooper Chad Dermyer, 37, was shot near the restrooms of the building.

Flaherty said the gunman walked up and shot Dermyer at close range. He was then taken to Virginia Commonwealth University Medical Center where he later died of his injuries.

Two civilians were hurt in the incident, though it was not clear if they had been shot, according to Virginia State Police spokeswoman Corinne Geller.

Geller added that the shooter approached the trooper, who was dressed in an "identifiable" outfit before they had a conversation and the man drew a gun and opened fire.

State police were holding a training exercise at the time the shots rang out, WTVR reported.

Watch the report above.

Stay tuned to Fox News for the latest updates on this developing story.