Two fishermen were rescued Friday after their boat sank 50 miles east of Portland.

The Coast Guard said it received an emergency beacon signal about 3:30 p.m. from the fishing vessel Jeanne C.

The Coast Guard said it was unable to raise the crew by radio, so it dispatched two cutters, a 47-foot motor lifeboat from Boothbay Harbor and a helicopter from Cape Cod, The crew from Boothbay Harbor spotted a life raft with two men on it and took them to the pier in Boothbay Harbor, where they were met by an ambulance.

A Coast Guard spokesman said the two declined medical attention and left on their own. The Jeanne C. is based in Trevett, which is on Barters Island, a few miles north of Boothbay Harbor.

The Coast Guard would not release the names of the two men.

“Their boat sank right out from underneath them,” said Lt. Samantha Leon, the command duty officer at the northern New England command center. She said the boat was equipped with the proper safety equipment, including the life raft.