BOSTON (CBS) – An incoming Northeastern University student was among the people who rushed to the side of a Massachusetts man after he was attacked by a shark off the coast of North Carolina.

Andrew Costello of Wareham was bitten by a shark on July 1 while swimming in waist-deep water off North Carolina’s Outer Banks on July 1.

READ MORE: Rain Returns, Heavy Tuesday With Threat Of Flooding And Damaging Winds

Costello, a former editor with the Boston Herald, was released from the hospital on July 20.

Andrew Costello. (WBZ-TV)

Andrew Costello. (WBZ-TV)

According to the Northeastern University website, incoming freshman Sarah Cline was at the beach when she heard Costello’s screams.

READ MORE: Coronavirus In Massachusetts: Today's Developments

Thinking Costello was being pulled out by a rip tide, Cline swam out to help, the university says. As she swam closer to Costello, he urged her to get out of the water.

After returning to the beach, Cline ran up and down the shore warning others, Northeastern officials said. She then helped keep Costello calm until he could receive medical treatment.

Costello said after his release from the hospital that he is focused on his “long road of recovery.”

MORE NEWS: New Memorial In Worcester Honors Firefighters Killed In Line Of Duty

This fall at Northeastern, Cline, a North Carolina native, will attend the College of Computer and Information Science and plans to pursue a minor in criminal justice.