A California man Wednesday pleaded guilty to sending an online hoax in 2012 that threatened a school massacre in Church Point like the one at Sandy Hook Elementary School.

Randall Swanson, 54, of Sacramento, California, made his plea in U.S. District Court in Lafayette, telling Judge Richard Haik he was guilty of communicating the threat the day after the deadly Dec. 14, 2012, school shooting in Newtown, Connecticut.

On Dec. 15, 2012, “Swanson sent an online message to a person he believed to be from Church Point that ‘the next school massacre happing in ur town,’” U.S. Attorney Stephanie Finley said in a news release.

“Swanson followed the online message with photographs and other information about how the crime would occur,” Finley said. She said Swanson sent pictures that indicated he was in Church Point when he was actually in California.

Swanson faces up to five years in prison, three years of supervised release and a $250,000 fine.

Haik did not set a sentencing date.

The FBI, Louisiana State Police and the Church Point Police Department investigated the case.