"Well, sir, and that was true. Do you see that tall ship in the bay flying a blue flag?" The consul pointed through the window. "It is the Guerrière, taken from the British. That one near the small island, the Macedonian, was also captured by Decatur on equal terms. The sloop near Cape Carthage, the Peacock, was also taken in battle."

The Bey, looking through his telescope, saw a small vessel leave the American fleet and approach the forts. A man appeared to be taking soundings. The Bey laid down the telescope. "I will accept the admiral's terms," said he, and resumed the combing of his beard.

Later he received Decatur with a great show of respect. The American consul was also honored, but the British was not treated so well. When a brother of the prime minister paid the money over to Decatur the Moor turned to the Englishman, and said, "You see, sir, what Tunis is obliged to pay for your insolence. You should feel ashamed of the disgrace you have brought upon us. I ask you if you think it just, first to violate our neutrality and then to leave us to be destroyed or pay for your aggressions?"

Having settled matters with Tunis, Decatur sailed for Tripoli, and there sent his demands to the Pasha. He asked thirty thousand dollars in payment for two American prizes of war that had been recaptured by the British cruiser Paulina, a salute of thirty-one guns to be fired from the Pasha's palace in honor of the United States flag, and that the treaty of peace be signed on board the Guerrière.

The Pasha pretended to be offended, summoned his twenty thousand Arab soldiers and manned his cannon; but when he heard how Algiers and Tunis had already made peace with Decatur, and saw that the Americans were all prepared for battle, he changed his tactics and sent the governor of Tripoli to the flag-ship to treat for peace. The American consul told Decatur that twenty-five thousand dollars would make good the lost prize-ships, but that the Pasha was holding ten Christians as slaves in Tripoli. Decatur thereupon reduced the amount of his claim on condition that the slaves should be released. This was agreed to. The prisoners, two of whom were Danes, and the others Sicilians, were sent to the flag-ship, and by way of compliment the band of the Guerrière went ashore and played American airs to the delight of the people.

The American captain now ordered the rest of his squadron to sail to Gibraltar, while the Guerrière landed the prisoners at Sicily. As the flag-ship came down the coast from Carthagena she met that part of the Algerine fleet that had put into Malta when the Americans first arrived in the Mediterranean. The Guerrière was alone, and Decatur thought that the Moors, finding him at such a disadvantage, might break their treaty of peace, and attack him. He called his men to the quarter-deck. "My lads," said he, "those fellows are approaching us in a threatening manner. We have whipped them into a treaty, and if the treaty is to be broken let them break it. Be careful of yourselves. Let any man fire without orders at the peril of his life. But let them fire first if they will, and we'll take the whole of them!"

The decks were cleared, and every man stood ready for action. The fleet of seven Algerine ships sailed close to the single American frigate in line of battle. The crews looked across the bulwarks at each other, but not a word was said until the last Algerine ship was opposite. "Where are you going?" demanded the Moorish admiral.

"Wherever it pleases me," answered Decatur; and the Guerrière sailed on her course.

Early in October there was a great gathering of American ships at Gibraltar. Captain Bainbridge's fleet, which included the seventy-four-gun ship of the line Independence, was there when Decatur arrived. The war between the United States and England was only recently ended, and the presence of so many ships of the young Republic at the English Rock of Gibraltar caused much talk among the Spaniards and other foreigners. The sight of ships which had been English, but which were now American, added to the awkward situation, and more than one duel was fought on the Rock as the result of disputes over the War of 1812.

The Dey of Algiers, left to his own advisers and to the whispers of men who were jealous of the United States' success, began to wish he had not agreed to the treaty he had made with Decatur. His own people told him that a true son of the Prophet should never have humbled himself before the Christian dogs. In addition the English government agreed to pay him nearly four hundred thousand dollars to ransom twelve thousand prisoners of Naples and Sardinia that he was holding. Before everything else the Dey was greedy. Therefore when Captain Oliver Hazard Perry, the hero of the battle of Lake Erie, brought out in the Java a copy of the treaty after it had been ratified by the United States Senate, and it was presented to the Dey by the American consul, William Shaler, the ruler of Algiers pretended that the United States had changed the treaty, and complained of the way in which Decatur had dealt with the Algerine ships. Next day he refused to meet Mr. Shaler again, and sent the treaty back to him, saying that the Americans were unworthy of his confidence. Mr. Shaler hauled down the flag at his consulate, and boarded the Java.