After Biot's departure, the political ferment caused by the entrance of the French into Spain extended to the Balearic Islands, and the population suspected Arago's movements and his lighting of fires on the top of Mount Galatzó (Catalan: Mola de l'Esclop) as the activities of a spy for the invading army. Their reaction was such that he was obliged to give himself up for imprisonment in the fortress of Bellver in June 1808. On 28 July he escaped from the island in a fishing-boat, and after an adventurous voyage he reached Algiers on 3 August. From there he obtained a passage in a vessel bound for Marseille, but on 16 August, just as the vessel was nearing Marseille, it fell into the hands of a Spanish corsair. With the rest the crew, Arago was taken to Roses, and imprisoned first in a windmill, and afterwards in a fortress, until the town fell into the hands of the French, when the prisoners were transferred to Palamos. After three months' imprisonment, Arago and the others were released on the demand of the dey of Algiers, and again set sail for Marseille on 28 November, but then within sight of their port they were driven back by a northerly wind to Bougie on the coast of Africa. Transport to Algiers by sea from this place would have occasioned a weary delay of three months; Arago, therefore, set out over land, guided by a Muslim priest, and reached it on Christmas Day. After six months in Algiers he once again, on 21 June 1809, set sail for Marseille, where he had to undergo a monotonous and inhospitable quarantine in the lazaretto, before his difficulties were over. The first letter he received, while in the lazaretto, was from Alexander von Humboldt; and this was the origin of a connection which, in Arago's words, "lasted over forty years without a single cloud ever having troubled it." Scientific studies Arago had succeeded in preserving the records of his survey; and his first act on his return home was to deposit them in the Bureau des Longitudes at Paris. As a reward for his adventurous conduct in the cause of science, he was elected a member of the French Academy of Sciences, at the remarkably early age of twenty-three, and before the close of 1809 he was chosen by the council of the École Polytechnique to succeed Gaspard