A man who shot at a Connecticut mosque out of anger on the night of the deadly attacks in Paris has been sentenced to six months in prison.

Ted Hakey Jr. was sentenced Friday in federal court in Hartford.

Nobody was hurt when he opened fire on the empty Baitul Aman Mosque in Meriden in a drunken burst of anger Nov. 13. Investigators said he struck the mosque at least four times from his property next door to the building.

Hakey pleaded guilty to destruction of religious property, a federal hate crime. He apologized to the mosque and said he had acted in fear. Congregation members forgave him and urged the court to spare him from prison.

Federal guidelines called for Hakey to serve eight to 14 months in prison.