A Florida man who admitted that he had burned a mosque attended by Omar Mateen, the gunman behind the Pulse nightclub massacre in Orlando, Fla., last year, has been sentenced to 30 years in prison.

The man, Joseph Schreiber, 32, pleaded no contest — effectively a guilty plea — during a hearing on Monday in St. Lucie County.

Image Joseph Schreiber. Credit... St. Lucie County Sheriff's Office, via Reuters

Mr. Schreiber, who had a previous criminal record and who had posted anti-Islamic views on social media, told detectives he set fire to the Islamic Center of Fort Pierce on the anniversary of the Sept. 11 terror attacks, which in 2016 also fell on Eid al-Adha, an important Muslim holiday, Assistant State Attorney Steve Gosnell said.