A misunderstanding afterwards arose between the inhabitants of Algiers and Khair-ad-din Beg, whose troops quarrelled with the natives; and the intercourse between Algiers and the neighbouring places was interrupted. In this state of affairs, Khair-ad-din, being little better than a prisoner, determined on leaving the place; but was undecided as to taking his property with him. While he was perplexed about this matter, and was praying for direction, the Prophet (upon whom be the blessing of God!) appeared to him in a dream, and seemed to him to be commencing in person the operation of placing the warrior’s effects in a ship. At this time information had been received of the apprehension of Kara Hassan, with offers to deliver him up. Khair-ad-din, therefore, under the pretence of going to secure him, emptied his house, and in the morning loaded nine vessels with his property, and put on board his family and servants. He then called for the principal men of the town, and the men of Ibn Kazi, who wished to make peace with him, and throwing them the keys of the city, exclaimed, “The troubles of Islamism be upon your shoulders, ye wretches!” mounted his horse, and went down to his ship. That night he lay in the harbour, whilst the Algerines raised a great lamentation, and great and small came to bid him farewell, and entreated him for advice. Khair-ad-din recommended them to God, and telling them to wait three years, and that they might then go where they pleased, he weighed anchor, and sailed for Jijeli.

OPERATIONS OF KHAIR-AD-DIN AT JIJELI.

On his arrival at the castle of Jijeli, which is situated on the coast of Moghreb, and in which he fixed his residence, a great scarcity of provisions arose; to remedy which inconvenience, he went out to sea with seven ships. On the infidels’ coast he came up with nine barges laden with provisions, one of which he sunk, and took the remaining eight. With these he returned and produced plenty, for which the people gave thanks. Seven hundred infidels were taken out of these barges. He then built for himself a galley of twenty-seven benches, with which and nine other vessels he began to plunder on the coasts of Tunis, taking prisoners all who had been opposed to him, and burning their ships. Shortly afterwards he met six barges laden with corn in the Gulf of Genoa. When the people on board saw Khair-ad-din, they immediately surrendered their vessels, which he took, and went to Jarba. He now began to recover the favour of the people, and Aidin Reis, Shaaban Reis, and twelve other reises, having heard of his invitation, joined him with forty ships, and sailed on an expedition to the coasts of the infidels, all the towns along which they attacked and plundered; and having taken many prisoners, and acquired considerable wealth, returned, and most of them wintered at Jijeli.

THE DEFEAT OF KAZI-ZADEH.

As the power of Khair-ad-din now began to increase, Ibn Kazi, from fear of him, sent him presents; but as he was not very peaceably disposed, Khair-ad-din evinced no friendship towards him. About this time some of the ships of the former arrived from Spain with Moslems; but when they touched at Algiers Kazi-Zadeh would not permit them to land; in consequence of which they came to Jijeli, and laid their complaints before Khair-ad-din. Khair-ad-din, who had been directed in a dream to return to Algiers, rose up and addressed a letter to the sheikhs of that place, inviting them to join him. This invitation they accepted, and came over to him. Kazi-Zadeh, being informed of this, collected an army of twenty thousand men, and came out to meet Khair-ad-din, prepared to give him battle. He was defended on one side by a mountain, at the foot of which he raised a mound; but when the two armies engaged, he was put to the rout, and four thousand of his Arabs were killed. He then took refuge in a fastness of the mountain; but Khair-ad-din coming upon him, killed him, and put to flight part of his army. The number of his matchlock men did not exceed eighteen hundred. After this event, the Arab sheikhs from all quarters came and joined Khair-ad-din, who, by proper management recovered all his former possessions. When these transactions reached the ear of Kara Hassan, he fled with five hundred men to Sharshal; but Khair-ad-din pursued him with speed, attacked the rebel, took him prisoner, and put him to death.

RETURN OF KHAIR-AD-DIN BEG TO ALGIERS.

Khair-ad-din when he left Algiers promised to return in three years; and that period having now expired, he fulfilled his promise, and once more entered that city. This hero was in the habit of seeking Divine guidance in all his affairs, and foresaw in visions most of the circumstances attending the battles he fought. The Arabs now attached themselves to him, and the people enjoyed security and ease. Abdullah, the beg of Tilmisan, having for six years refused to transmit his annual tribute of ten thousand ducats, and having joined himself with the infidels, and issued the khotba and the coinage in his own name, Khair-ad-din sent him an admonitory epistle; to which however he paid no attention, and preparations for hostilities were commenced on both sides.

THE ENGAGEMENT WITH ABDULLAH.

Abdullah drew out his Arab troops, whilst Khair-ad-din marched against him from Algiers, and his efforts being crowned with success, he routed Abdullah, who fled, leaving behind him only eight thousand camels, which fell into the hands of the victorious troops. Abdullah then sent a messenger to sue for peace; and having read the khotba and issued the coinage in the name of the sultan, a peace was concluded, on condition that he should pay an indemnity of twenty thousand ducats, and an annual sum of ten thousand ducats for six years. His brother Ibn Kazi having also rebelled, Khair-ad-din marched against him, and compelled him to pay thirty yūks[24] of silver. Having now overcome most of the difficulties with which he had been surrounded, Khair-ad-din began to think of reducing the island opposite Algiers. On this island, which is about a bow-shot from the city, there was formerly a small fortress, of which the infidels by some means or other had obtained possession; and when Khair-ad-din took Algiers they filled it with ammunition, and strongly fortified it. Previously to that event these infidels exacted a tribute from the citizens; and whilst the Moslems were calling to prayers from the minarets, were accustomed to discharge the artillery, and thus did considerable injury. On the arrival of Khair-ad-din Beg at Algiers, they petitioned him to allow them to remain unmolested in their fortress, promising at the same time never to set foot within the city. Khair-ad-din however would not consent to a peace, but continued to annoy them. This state of things had now continued, fourteen years, when Khair-ad-din Beg blockaded the castle; and hearing that the king of Spain had resolved to send to its succour, he continued his attacks night and day for a whole week. The besieged then begged for quarter; but this he refused, and took the castle, sword in hand. Besides those who were killed, about five hundred men were taken prisoners. He then ordered that the castle should be rased, and the passage filled up, so that the centre might form a harbour; and it accordingly forms the present harbour of Algiers. He next made the infidels repair those parts of the town which they had destroyed with their cannon, and put their chiefs to death. Nine barges which had come to their assistance from Spain, not being able to find the castle, were about to return, when Khair-ad-din pursued them with fifteen galleys; took them all by force of arms, and returned to Algiers. Besides those who fell in the engagement, one thousand seven hundred men were made prisoners.