What county invented fireworks?

China invented fireworks first, then the Europeans found out about the Chinese invention, and then it spread around the world.