The man was was fatally shot outside the Manheim Township police station on Tuesday afternoon has been identified by the Lancaster County District Attorney's office.

John R. Simson, 65, of East Petersburg, was shot and killed Tuesday by a Manheim Township police officer.

Simson had fired a shotgun at least twice, including once at himself, with police officers present on the police station grounds, a news release from the district attorney's office states.

Police made repeated commands to Simson before the officer fired the shot that killed Simson,.

According to the release, Simson was recently charged by Manheim Township police and had turned himself in on May 4. At that time, he was charged with involuntary deviate sexual intercourse of a child, indecent assault of a child (three counts), unlawful contact with a minor and corruption of a minor. The investigation involved an admission to police to the alleged criminal conduct, the release states.

On May 4, Simson was arraigned on the charges. He posted $50,000 bail via a bondsman.