A Florida man was arrested Saturday after he threw lit firecrackers under the bed of a sleeping child in what he told police was a "prank gone wrong."

Okaloosa County sheriff's deputies responded to a home in Crestview on Saturday where Matthew Morrison, 44, was living in a tent outside. The homeowner told police that Morrison went inside the home without permission and threw the string of firecrackers under the bed of a 9-year-old girl.

"The little girl told deputies she woke up to the sound of fireworks exploding in her room, causing her to be frightened, cry, and shake," the sheriff's office said in a statement.

The owner of the home then chased Morrison out with a stick. When deputies detained Morrison, they found approximately 2 grams of methamphetamine in the pocket of his pants.

Morrison was arrested and charged with burglary, child cruelty without great harm, and possession of a controlled substance, according to jail records.

Follow N'dea Yancey-Bragg on Twitter: @NdeaYanceyBragg