Two boys were transported to the hospital for treatment Friday afternoon after getting caught in a rip tide on Folly Beach, authorities report.

According to Folly Beach Public Safety Sgt. Kevin Berkel, the boys, ages 10 and 16, were swimming in the water near the pier when they were swept out by a rip current shortly after noon.

The boys managed to hold on to the pier's pilings for support but they received multiple scratches from the barnacles that were attached to the wooden poles, Berkel said.

Two surfers rescued the boys and pulled them back to shore. One of the surfers was treated at the scene for minor cuts, Berkel said.

The boys were transported to Medical University Hospital for treatment of multiple lacerations, Berkel said.

Reach Christina Elmore at 937-5908 or at Twitter.com/celmorePC.