NAIROBI, Kenya 
A Danish family kidnapped by pirates has reached Somalia's coastline, officials and a pirate said Wednesday, likely meaning a long hostage ordeal for the couple and their three teenage children who were abducted while yachting around the world.

The family has been moved to a larger ship, and none of the hostages has been harmed, a pirate said.

A Somali pirate previously warned that if any attempt was made to rescue them, they would meet the same fate as the four American yachters slain by their pirate captors last week. Any chance of a quick rescue seemed to disappear Wednesday.

Later Wednesday, the Danish government said it had established contact with the pirates and their hostages.

"They are doing well under the circumstances," the Foreign Ministry said in a brief statement.

It said a professional security firm was handling negotiations with the pirates, declining to give more details, citing concern for the hostages and their relatives. The statement did not mention anything about a ransom.

The sailboat being piloted by Jan Quist Johansen, his wife and their three children, ages 12 to 16, anchored near the coastal village of Hafun late Tuesday, said Yusuf Abdullahi Sanyare, the commissioner of Hafun, which lies on Somalia's northern tip, in a region known as Puntland.

Abdiaziz Mohamud Yusuf, the spokesman for a community group called the Puntland Peacemakers, told The Associated Press that the family has been taken on land.

However, a Somali pirate who gave his name as Muse Abdi said the family was transferred to another, larger pirated ship. He said the family has not been harmed.

"They are safe. They were just transferred from the boat to the big ship," said Abdi, who has provided reliable information in the past. "They have been added to other nationals in another ship to avoid any possible attack."

Denmark says it has established contact with the pirates who captured a Danish yacht in the Indian Ocean and with the Danish family that was taken hostage.

Two adult Danish crew members were also seized in the attack last Thursday on the Johansens' 43-foot sailboat.

Abdi said that no ransom demands have yet been made. He said the pirates aren't criminals but "coast guards." The Somali piracy scourge began when fisherman several years ago tried to scare off international trawlers fishing Somalia's waters.

That trend turned into the modern-day piracy machine. Pirates today hold at least 660 hostages from around 30 ships. The average ransom paid to release a ship and crew has reached close to $5 million.

The Johansen family was aware of the pirate threat in the waters off East Africa, but believed that warships patrolling the waters would protect them, according to entries on their travel blog.

Maritime experts said the Johansens had placed themselves in grave danger off Somalia's lawless coast despite warnings from naval forces struggling to police the area against pirates.

Yusuf, who said he has been contacted by a Danish official in Nairobi, said pirates moved the hostages from the sailboat because of a rumor that a warship was heading to the scene. Yusuf's group has been involved in anti-piracy campaigns.