Among the notable people held for ransom was the future Spanish novelist, Miguel de Cervantes, who was held captive in Algiers for almost five years, and wrote two plays set in Algiers of the period. The primary source for knowledge of Algiers of this period, since there are no contemporary local sources, is the ''Topografía e historia general de Argel'' (1612, but written earlier), published by Diego de Haedo, but whose authorship is disputed. This work describes in detail the city, the behavior of its inhabitants, and its military defenses, with the unsuccessful hope of facilitating an attack by Spain so as to end the piracy.