The Americans had hardly gained possession of the frigate, when a number of launches were seen hurrying about the harbor. Decatur decided that the best defence could be made by staying on the frigate, and he prepared to receive their attack. Meanwhile, the enemy had opened fire from the batteries and the castle and from two corsairs lying near. As the launches did not approach, the lieutenant ordered the ship to be set on fire in several places. The flames spread so fast that it was with the utmost difficulty the Americans were able to reach the ketch. At that critical moment, a propitious breeze sprang up and carried the Intrepid out of the harbor. She had not lost a man, only four being wounded.

For this exploit, Decatur was promoted to the rank of post captain, there being no intermediate grade. The honor was specially gratifying, since the promotion was made with the consent of every officer over whose head he was raised. It should be stated that at that time the rank of captain was the highest in the navy. A commodore was simply the senior officer of a squadron and might be a master, commandant, a lieutenant, or midshipman.

It was decided some weeks later to make an attack on Tripoli. The King of Naples loaned six gunboats and two lombards to Commodore Preble. These were formed in two divisions, Decatur commanding one and Lieutenant Somers the other. The squadron which sailed from Syracuse included the frigate Constitution, the brig Siren, the schooners Nautilus and Vixen, and the gunboats. Adverse winds deferred the attack for several days. Finally, on the morning of August 3d, the weather being favorable, the signal was given from the commodore's vessel to prepare for action. This signal to open the bombardment was made at nine o'clock. The gunboats were cast off and advanced in a line ahead, led by Captain Decatur and covered by the frigate Constitution and the brigs and schooners. The enemy's gunboats were moored along the harbor under the batteries and within musket-shot. Their sails had been taken from them and they were ordered to sink rather than abandon their position. They were aided and covered also by a brig of sixteen and a schooner of ten guns.

Before entering into close action, Decatur went alongside each of the boats and directed them to unship their bowsprits and follow him, as it was his intention to board the enemy's boats. Lieutenant James Decatur commanded one of the boats belonging to Commodore Preble's division, but being farther to the windward than the rest of his division, he joined and took orders from his brother.

When Captain Decatur in the leading boat came within range of the batteries, they and the gunboats opened fire. He returned it and pushed his way among the boats. At this juncture, Commodore Preble, fearing the results of Decatur's rashness, ordered the signal to be made for retreat. This command brought to light the singular fact, that in making out the signals before going into battle, no one had thought of that which ordered a retreat. It was impossible, therefore, to recall the daring Decatur.

The enemy's gunboats contained forty men each and ours the same. Decatur had twenty-seven Americans and thirteen Neapolitans. On boarding the enemy, the latter held back, but our countrymen charged eagerly forward. Ten minutes sufficed to clear the deck. Eight of the Turks plunged into the hold, some fell while fighting, and others leaped into the sea. Only three of the Americans were wounded.

As Decatur was about to withdraw with his prize, his brother's boat came under the stern. The men called to him that they had engaged and captured one of the enemy, but her commander, after surrendering, had treacherously shot Lieutenant James Decatur, pushed off while the crew were recovering the body, and was at that moment making all haste for the harbor.

Decatur was infuriated on hearing this and resolved that the miscreant should not escape. With his single boat he pressed with all possible speed within the enemy's line, and running aside the offending boat, bounded over the gunwale, followed by eleven Americans, all that were left to him. Then followed the most desperate hand to hand fight conceivable, the issue being in doubt for twenty minutes.

There have been many accounts of Decatur's exploit on this Tripolitan gunboat, with considerable variation as to particulars. That which follows is the story as it was told to me by Admiral Stewart, who received it from Decatur himself, immediately after the fight. Decatur presented the weapon, called an espontoon, to Stewart, and I naturally examined it with great interest. The handle was of ivory and the blade perhaps eight or ten inches long, being very narrow and curved like a scimetar. It had no edge, was sharply pointed, and evidently made for thrusting.

Nothing could stay the fury of Decatur. He easily identified the commander by his immense size and gorgeous uniform. He eagerly sought out the American and they instantly came together in the fight to the death. Decatur had a cutlass, and the Turk a pike. The latter inflicted a slight wound on Decatur's breast, and in parrying the stroke his sword broke off at the hilt. Flinging the weapon aside, the American sprang like a tiger at his antagonist. The two fell to the deck, Decatur under, and flat on his back. The Turk had the weapon I have described in the front of his sash and attempted to withdraw it to give the finishing thrust. Decatur flung his legs over his back and with one arm held his enemy so tight against his body that he could not force his hand between. In this position, Decatur with his free arm drew a pistol from near his hip, reached over the back of the Turk and fired downward, directly toward himself.