1777 was the first year fireworks were used in an official Fourth of July celebration. Congress authorized using fireworks to help mark the first anniversary of the Declaration of Independence.| web