The first “official” state celebration of the Fourth of July occurred in Massachusetts in 1781. Boston was the first city to officially designate July 4th as a holiday, in 1783. The act of Congress establishing Fourth of July as a federal holiday did not occur until 1870.