Three people were injured, including two children, in separate illegal fireworks accidents on the 4th of July and early Wednesday, police in Suffolk and Nassau counties said.

The first injury occurred at 8:40 p.m. Tuesday on Whitebirch Lane in Wantagh, when a 40-year-old man handling fireworks was hurt above his right eye, Nassau police said. He was taken to a hospital for treatment.

Less than an hour later at 9:05 p.m. in Melville, patrol officers from Suffolk’s Second Precinct responded to a 911 call about a large party with fireworks at the Country Pointe condominium complex on Ruland Road, said Justin Meyers, assistant Suffolk police commissioner.

Meyers said a firework tipped over and shot into the crowd of partygoers, striking a 7-year-old girl in the leg and causing a “small” second-degree burn. Meyers said the girl was taken by the Melville Fire Department to Huntington Hospital, where she was treated and released.

Russell Simon, 46, of Melville, was arrested and charged with unlawfully dealing with fireworks and third-degree assault for recklessly causing a physical injury to another person, Meyers said. Simon was issued a ticket to appear in First District Court in Central Islip at a later date.

advertisement | advertise on newsday

The third injury occurred at 1:10 a.m. Wednesday on School Lane in Huntington. Meyers said a 15-year-old boy suffered injuries to his fingers when lit fireworks exploded in his hand. He was transported to Huntington Hospital for treatment.

Meyers said police are still investigating the circumstances surrounding that incident.