A 25-year-old homeless man, found sleeping in his car at the University at Buffalo’s South Campus, was charged with robbing a woman last week, university police reported.

The robbery occurred at about 6 a.m. last Wednesday, as the woman was walking along Bailey Avenue on her way to work.

Police said a man approached her and, claiming he had a knife, threatened to kill her if she didn’t turn over her purse. He then fled toward Goodyear Road, where his car was parked, and drove toward Hayes Road.

Jonathan A. Huitt was arrested the next day, after he was found sleeping in his car with a 15-year-old girl who had been reported missing. Neither had any connection to the university, campus police said.

Huitt was charged with robbery and criminal possession of a weapon, as well as acting in a manner injurious to a child under age 17.