The 445 Moroccan gold coins divers found in Salcombe Bay came from the Dom van Keulen, a Dutch ship that sank in 1633 carrying about 9,000, the British Museum has now confirmed.

Anyone who has picked up a mooring in Salcombe on a fine August evening, gin in hand and the Bag full of boats, will know that the place has always had a talent for parting people from their money, but it turns out the habit goes back rather further than the price of a pontoon berth. In April 1995 divers from the South West Maritime Archaeological Group were surveying the seabed in Salcombe Bay when one of them, Ron Howell, saw a tiny gold ingot and then a cluster of gold coins sitting in a gully, which he brought up to the considerable astonishment of the colleagues waiting in the dive boat. There had been rumours of a sunken ship with cannon in the bay for more than a decade, and for once the rumours were right.

That first glint turned out to be what the museum calls an extraordinarily important historical find. The British Museum says the divers recovered more than 400 gold Islamic coins, ingots and jewellery, along with broken pottery, pewter, a merchant's seal and sounding weights, and the Receiver of Wreck, Veronica Robbins, called in the museum's curator of Islamic coins, Venetia Porter, to identify them. The coins were 17th century Moroccan, the latest struck in 1632 by al-Walid, one of the last of the Sa'dian Sharifs, and the museum bought the hoard from the divers, as the law requires, with help from the Art Fund, the British Museum Friends and its Brooke Sewell Fund, announcing the find at a crowded press conference in November 1997.

What nobody could say was whose ship it was. Very little of her survived, a few fragments of wood, some rope and a little lead sheeting, and three theories ran for years: a Dutch trader, an English one, or, the version everyone in the pub preferred, a Barbary corsair, one of the North African raiders who were then taking captives off the English coast. The answer came from the maritime historian Ian Friel, who found in the records of the High Court of Admiralty that in late 1633 two agents for the Amsterdam merchants João de Pas and Andrea de Azevedo had come to the court about the loss of their ship, the Dom van Keulen.

The testimony, now held at The National Archives, tells a story any skipper will recognise. The ship left Safi on Morocco's Atlantic coast in August 1633 bound for Amsterdam, met tempestuous weather, began letting in water, and her master was forced to anchor, in the words of the 10 December 1633 testimony, 'within a quarter of a myle from the shoare of Salcombe in the County of Devon'. The crew and passengers rowed ashore and left her to sink. Her main cargo was about 9,000 'Barbarye ducketts', Moroccan gold dinars kept in a chest in the master's cabin, and by the time the merchants reached the Admiralty court the chest had disappeared, which is why they wanted the court's help to find it.

Only 445 of those coins turned up on the seabed, and what became of the other eight and a half thousand or so remains unknown, which will keep Salcombe's bar-room historians going for another four centuries. The rest of the find fills in the picture of life aboard. There are ingots of West African gold, the largest a 'finger' ingot weighing 166.99 grams, jewellery that is burnt, twisted and stripped of its stones, a carved Dutch clay pipe, broad beans that were probably a staple of the crew's diet, and a ceramic jar of pills made almost entirely of conifer resin, which still gave off a lemony smell when one was crushed. The court records list gum arabic, saltpetre and goatskins in the cargo too, but the gold was clearly the point, and the museum thinks all of it was destined for the melting pot.

The full story is told in a new British Museum book, From Morocco to the Coast of England: The Story of the Dom van Keulen and its Remarkable Cargo, edited by Venetia Porter and the archaeologist David Parham, a 202-page paperback with 175 illustrations priced at £40, and the editors and Ian Friel are speaking at the Royal Asiatic Society in London at 6.30pm on 9 December. Some of the gold is on show in the museum's Albukhary Foundation Gallery of the Islamic World. The book has also prompted Dutch historians at the maritime archive Marhisdata to dig up more about the ship and her people from records in the Netherlands, so the Dom van Keulen may not have finished talking yet.

For anyone tempted to take a mask and a metal detector down to Salcombe this winter, a word of caution. The wreck site is protected under the Protection of Wrecks Act 1973, and the 1997 designation order puts a 250-metre restricted area around it, inside which diving is banned without a licence from the heritage authorities. More generally, the Maritime and Coastguard Agency says anyone who recovers wreck material in UK waters must report it to the Receiver of Wreck within 28 days. Owners then have a year to come forward, unclaimed wreck goes to the Crown, and a finder who fails to report can, under section 236 of the Merchant Shipping Act 1995, be fined, lose any claim to salvage and be made to pay twice the value of what was found.