A missing boater’s body has been recovered from a lake north of the Twin Cities, authorities said.

John Fanning, 28, of Moose Lake, Minn., had been missing since late Saturday afternoon, when he jumped off a boat on Sturgeon Lake, according to the Pine County Sheriff’s Office.

Fanning was fishing and jumped in to save a friend’s hat, according to a Facebook page set up to rally volunteers in the search along the shore and on the lake.

“His friend, after attempting to save John, was picked up and brought to safety,” the posting continued. “Their boat drifted away.”

Witnesses told authorities that Fanning was “having trouble in the water before going under,” read a Sheriff’s Office statement.

Two days of searching the lake roughly 6 miles south of Moose Lake turned up Fanning’s body. He was not wearing a life jacket, the Sheriff’s Office was told.