A Seminole man was seriously injured on New Year’s Eve after a homemade firework he put together ignited in his hand.

Deputies said they were summoned to a home in the 8600 block of Kumquat Avenue at about 8:20 p.m. Tuesday.

There, they learned that Wayne DeSmith, 36, who resides there, had been taken to the hospital with severe injuries to his right arm.

Deputies said DeSmith had “bundled four boxes of sparklers and wrapped the flammable ends together with black electrical tape,” a news release states. “One sparkler projected out of the bundle, serving as a fuse.

“Detectives say the wrapping of the bundle changed the nature of the sparklers to a very large firecracker,” the news release states.

Detectives were told that the firework ignited “with a very large explosion before DeSmith had an opportunity to throw the bundle a safe distance away, causing extensive injuries to his right hand,” the release states.

Pinellas deputies said the incident serves as a reminder to follow fireworks safety guidelines.

The sheriff’s office and the State Fire Marshal’s Office are investigating.