Fourth of July celebration serves as history lesson