The Middy and The Moors by R.M. Ballantyne
[...] These were by no means agreeable, as may well be supposed, for he now knew that he had fallen into the hands of those pests, the Algerine pirates, who at that time infested the Mediterranean. With the thoughtlessness of youth Foster had never troubled his mind much about the piratical city of Algiers. Of course he knew that it was a stronghold on the northern coast of Africa, inhabited by Moorish rascals, who, taking advantage of their position, issued from their port and [...].
About The Author:
R. M. Ballantyne (24 April 1825 – 8 February 1894) was a Scottish juvenile fiction writer.
Born Robert Michael Ballantyne in Edinburgh, he was part of a famous family of printers and publishers. At the age of 16 he went to Canada and was six years in the service of the Hudson's Bay Company. He returned to Scotland in 1847, and published his first book the following year, Hudson's Bay: or, Life in the Wilds of North America. For some time he was employed by Messrs Constable, the publishers, but in 1856 he gave up business for the profession of literature, and began the series of adventure stories for the young with which his name is popularly associated.