A 77-year-old man living at a Wyoming senior citizen apartment complex shot three people at the facility Wednesday before turning the gun on himself, police said. 

One victim was shot inside the Heritage Court Apartments in Cheyenne and two people were shot outside, said Dan Long, spokesman for the Cheyenne Police Department told the Associated Press.

Long did not identify the victims or provide information about the conditions of the victims who were wounded.

Authorities did not immediately disclose a motive for the rampage they said was carried out by Larry Rosenberg.

Rosenberg fled the complex after the shootings, which occurred shortly after 11 a.m. local time, and killed himself as officers approached him near the complex, according to Long. He said the Rosenberg had a handgun and a rifle.

Complex resident Mary Eastman, 80, said she knew Rosenberg and went to yard sales with him.

She said she saw him before the shooting, went out shopping and came back to find that the complex had turned into a crime scene.

Police comforted a distraught woman at the scene, and what appeared to be a covered body was visible within an area cordoned off by authorities.

Local schools were placed on lockdown as a precaution shortly after the shooting, The Wyoming Tribune Eagle reported.

The Associated Press contributed to this report.