SAN FRANCISCO — A 5-year-old boy was transported to hospital with life-threatening injuries after he was among 30 people on a boat that capsized off Pier 45, leaving some trapped under the hull, officials said Saturday afternoon.

All 30 people were rescued from the vessel, which capsized about 100 yards from the pier as crowds thronged the Embarcadero for Fleet Week.

Five adults, as well as two other children, were also transported to hospital. Their conditions were not immediately available.

The U.S. Coast Guard was notified at 4:02 p.m. and everyone was out of the water in 32 minutes, officials said.

Divers and helicopters, as well as San Francisco firefighters, were among those who responded.

There were 27 adults and three children on board the 34-foot Khaleesi when it capsized, Coast Guard spokeswoman Lt. j.g. Nicole Emmons said.

Divers and helicopters, as well as San Francisco firefighters, were among those who responded.

Some first responders were carrying out safety patrols in San Francisco Bay for Fleet Week at the time the boat capsized and were able to quickly get to the scene.

Other details, including what led up to the capsizing, were not immediately available.

A police spokeswoman said the incident remains an open and active investigation.

Check back for updates.