Los Angeles County authorities have arrested a homeless man who had five firearms, including two operable World War II-era machine guns.

Sheriff's Detective Dennis Elmore says the arrest was made as deputies were on foot patrol at a homeless encampment near Harbor City.

They found Richard Cunningham with the machine guns and three pistols. Elmore says the 57-year-old was also in possession of high-capacity magazines and ammunition for the M3 machine guns, which are also known as "grease guns."

City News Service reported Wednesday that Cunningham faces charges including possession of a firearm by a felon, possession of a large-capacity magazine and possession of a machine gun.

Details about Cunningham's previous felony conviction were not disclosed. It wasn't immediately known if he has a lawyer.