A boat overturned in La Jolla on Wednesday afternoon, according to officials.
Just after 3:30 p.m. lifeguards responded to a call of an overturned boat in the water at the foot of Marine Street at Horseshoe Reef.
Four people were aboard the 22-foot motorboat when it overturned in the surf.
Medics were requested to the scene and lifeguards assisted both in the ocean and from the shore.
All the victims were rescued and two people suffered injuries. One of the victims sustained a head injury and was transported to the lifeguard's headquarters.
A rescue vessel also helped tow the boat.
According to lifeguards, the boat overturned when it cut a corner too close at the surfline near Horseshoe Reef. Because it was weighed down by buoys and anchors, the boat was unable to move quickly and was pounded by the surf, causing it to overturn.
The four people who were thrown overboard were not wearing lifejackets, lifeguards said.
Keep up to date on breaking news: Download our improved iPhone app, follow us on Twitter @nbcsandiego, fan us on Facebook, sign up for our breaking news e-mail alerts or text SDBREAKING to 622339 to receive text messages for local breaking news. (For more info, text HELP. To end, text STOP. Message and data rates may apply.)