This electrifying moment was captured on camera.

As powerful thunderstorms rolled through Massachusetts and New England on Saturday, one man was recording as lightning struck a nearby boat in South Boston.

Harry Minucci told Storyful the vessel was moored at the Columbia Yacht Club marina in South Boston.

LIGHTNING STRIKE IN SOUTH CAROLINA KILLS AT LEAST 1; OTHERS INJURED: REPORTS

Minucci said he took out his camera after seeing the lightning strikes in the distance, but couldn't believe it when he captured the moment the lightning bolt hit the boat.

The vessel's owner wasn't on the boat at the time and no injuries were reported.

The National Weather Service's Boston office issued an area flood warning Saturday afternoon as thunderstorms moved through the area. The storms produced up to 1.4 inches of rainfall and brought the threat of urban and poor drainage flooding.

Video of the lightning strike caught the attention of the NWS's office, which said on Twitter it was "a great example of why we say 'When Thunder Roars, Go Indoors!'"

2 GIRAFFES AT FLORIDA WILDLIFE PARK SUFFER 'INSTANTANEOUS' DEATHS AFTER LIGHTNING STRIKE, OFFICIALS SAY

So far this year, there have been seven lightning strike-related deaths this year, according to the NWS. Those deaths were reported in Florida, Texas, Kentucky, Pennsylvania, South Carolina and Alabama.

Lighting typically strikes tall objects such as trees and skyscrapers because their tops are closer to the base of the storm cloud, according to The National Severe Storms Laboratory.

"However, this does not always mean tall objects will be struck. It all depends on where the charges accumulate," according to the agency. "Lightning can strike the ground in an open field even if the tree line is close by."

CLICK HERE FOR THE FOX NEWS APP

Lightning known as a "bolt from the blue" can also strike from as far away as 25 miles away from a thunderstorm cloud, even when there appear to be clear skies, according to the NSSL.

"They can be especially dangerous because they appear to come from clear blue sky," the agency states.