Rescue workers have pulled the body of a New Hampshire man who had been diving from waters off Nubble Light, a day after another diver was rescued in just about the same place by a York town worker, according to various news accounts.

Walter Fabian, 67, of Nashua, New Hampshire, was found by local lifeguards on the northeast shore of Cape Neddick, near the lighthouse, on Tuesday afternoon. According to a Maine Marine Patrol statement, Fabian, a recreational diver, was diving with a friend when the two became separated after surfacing. The friend swam to shore and called for assistance.

Fabian’s body will be taken to the state medical examiner’s office in Augusta for an examination, according to the statement.

Fabian was the second diver to encounter trouble near the cape, but Monday’s diver was rescued by York town employee Ryan Coite and nine others who formed a human chain to get both of them to safety, according to WGME, which gathered pictures of the rescue as it happened. A foreman at York’s parks department, Coite was at the lighthouse when he saw a diver struggling in the water.

“I jumped in the water and swam out to him and side-stroked him in, trying to keep his head above water. I kind of circled around him once, then grabbed his air tank and just pulled him in with the side stroke,” Coite told WGME.

The diver’s name was not immediately available. York police Lieutenant John Lizanecz credited Coite for his quick actions.

“Ryan didn’t hesitate at all. He definitely is a hero for what he did,” Lizanecz told WGME.