ATLANTIC CITY, N.J. — Authorities say a father died while rescuing his son who was struggling in the ocean off Atlantic City.

Emergency responders went to the beach around 9:30 a.m. Monday for a report of a child drowning.

Before they arrived, the father had entered the water to help his 11-year-old son, who eventually made it to shore. But the father began struggling himself, and a former police officer who happened to be at the beach entered the water and tried to pull him in using a boogie board.

Emergency responders soon brought the two men ashore, but the father was unresponsive and was soon pronounced dead at a hospital. The former police officer wasn’t injured.

The father’s name wasn’t released. The child was treated at the hospital for undisclosed injuries.