A suburban Philadelphia man is behind bars on $1 million cash bail after being accused of threatening to shoot up Springfield Township.

Police say they got a call that 22-year-old James Gallagher of Wyndmoor was posting threatening messages on his Facebook page.

A detective went undercover on the social networking site and was able to read several postings from late August.

Montgomery County District Attorney Risa Ferman says there were pictures of Gallagher holding AK-47 and AR-15 rifles on his Facebook profile. She says a search warrant executed at Gallagher's home turned up guns, ammunition, and white supremacist memorabilia.