DECATUR — A Decatur man accused of robbing a friend at gunpoint in her home has pleaded not guilty to a charge of armed robbery.

Keith B. Cunningham, 23, appeared in Macon County Circuit Court on Wednesday, and Judge Jeffrey Geisler arraigned him and scheduled a pretrial hearing for Oct. 2. He is being held without bond in the Macon County Jail.

Giving evidence, Decatur police patrol officer Brandon Rolfs told the court the crime happened about noon Aug. 6 at the woman’s home on the city's southwest side.

He said they had communicated by Facebook messages, and the last one the woman received from Cunningham said he had arrived at her home.

“While standing in the kitchen he pulled out a semi-automatic handgun, pointed it at her head and demanded she give him money,” Rolfs said. He then fled with $300.

The victim, who has known Cunningham for years, had a record of their Facebook messages and, using her information, police officers found and arrested Cunningham the following morning.

Contact Tony Reid at (217) 421-7977. Follow him on Twitter: @TonyJReid