A Casper man is heading to prison after admitting he fired a gun at a Halloween party.

Nicholas Frederick was sentenced to four-to-six years in prison with a boot camp recommendation, after pleading guilty to one count of aggravated assault.

Casper Police say Frederick and a friend were at a party last Halloween on the 1100 block of South Jackson Street.

Frederick got into an altercation with the host, who told officers that Frederick later pulled out a gun and fired one shot, grazing his head.

Witnesses told investigators that Frederick then drove off and fired several more shots as he was leaving.

He was picked up about a month later in Colorado and prosecutors say he was out on bond for another matter, at the time he went to the party.

If Frederick completes the boot camp requirement, the court might call him back for a sentence review hearing.