Updated

Sonic booms heard and felt along the eastern shoreline were caused by military fighter jets conducting tests, officials said.

An F-35C, which has a top speed of nearly 1,200 mph, and an F-18 from Naval Air Station Patuxent River in Maryland were conducting supersonic testing off the coast Thursday afternoon, according to a Navy spokeswoman.

Residents reported hearing loud booms and feeling the ground and buildings shake from New Jersey to Long Island. The booms were heard as far away as Connecticut.

Related: 'Citizen scientists' use drones to map El Nino flooding

Navy spokeswoman Connie Hempel said supersonic tests flights are done almost daily in the same area but that most sonic booms aren't felt on land. They are conducted offshore in an area called the Test Track, parallel to the coast of the Delmarva Peninsula which is occupied by Delaware, Maryland and Viriginia.

Certain atmospheric conditions can increase the chance of hearing the booms.

Thursday's tests were done around 1:30 and 2:30 p.m.

A geophysicist with the U.S. Geological Survey said there were nine total booms. Bruce Presgrave said recordings show they occurred over the span of 90 minutes.

The Department of Defense employs a hotline for noise disturbances for the Naval Air Station in Patuxent River. Questions can be referred to 866-819-9028.