The man fatally shot by a sheriff’s deputy at Inova Fairfax Hospital Monday night was identified Friday by county police as Jovany Martinez, 29, of no fixed address.

In a statement giving new details about the incident, police said Martinez approached an officer Monday afternoon on Little River Turnpike in Annandale who became concerned that he was suffering an emergency because of the heat, experiencing mental health problems, or both.

Martinez was taken to the hospital for evaluation, where the officer was told he was “not in mental distress,” and he was discharged, according to the police.

But, outside, he appeared to be “in mental crisis,” struck a security guard with a sign post and swung it at the deputy, who retreated. Ignoring the deputy’s orders to drop the post, he continued to charge at the deputy with it and was shot, police said.