Pitbull and Meghan Trainor helped New Yorkers mark Independence Day on the Fourth of July with performances at an open air concert and fireworks show.

Pitbull gave a high energy performance, singing his song "Messin' Around" while Trainor opened her portion of the show with her 2014 hit "All about that Bass."

Rainy weather throughout the East Coast did not appear to dampen the spirits of spectators who sang and waved flags throughout the show. The concert was followed by the Macy's 4th of July fireworks display which lit up the New York skyline.

Fireworks NYC July 4 2016 The Macy's 4th of July Fireworks explode behind the Brooklyn Bridge on the East River in New York, July 4, 2016. Photo: REUTERS/Andrew Kelly