Author Giles Milton will be telling the story of slave Thomas Pellow of Penryn at a talk at the National Maritime Museum in Falmouth next Wednesday.
He has written the book White Gold: The Extraordinary Story of Thomas Pellow and North Africa's One Million European Slaves.
In 1716, Pellow and fifty-one comrades were captured at sea by the Barbary corsairs and taken in chains to the great slave markets of Algiers, Tunis and Salé in Morocco.
They were bought by the tyrannical Sultan of Morocco, Moulay Ismail, who was using slaves to construct the largest imperial pleasure palace in the world.
Mr Milton says: "Penryn born Thomas Pellow would witness first-hand the barbaric splendour of the imperial court, as well as experience daily terror.
"For twenty-three years, he would dream of his home and his family. He was one of the fortunate few who survived to tell his tale."
Tickets for the lecture, entitled Sold as a Slave, are £8 for the lecture or £18 to include a two-course buffet. It starts at 6.30pm and to book call the museum on 01326 214546.