This request was granted, and David spent a delightful year with his old friend. He studied mathematics and English literature. He also learned to speak French and Italian.

He and Mr. Folsom took many trips about the Mediterranean, and these were of great benefit to him. In October, 1818, he returned to the Washington, in which he cruised for another year.

V.—War with the Pirates.

While David Farragut was at a port in the Mediterranean, he was summoned to America to take his examination for the lieutenancy. He was then eighteen years of age.

In November, 1820, he arrived in New York, where he passed his examination successfully. He did not receive any appointment, however, for some time, as there were no vacancies in the navy. The next two years were spent with the Porter family at Norfolk, Virginia.

In 1822, he sailed for a short time on a sloop of war, that was cruising about the Gulf of Mexico. On his return to America, he learned that Captain Porter was fitting out a fleet to cruise against the pirates of the West Indies.

These robbers had small, fast-sailing ships. They would attack unarmed merchant vessels, seize all the valuables they could carry away, and destroy the remainder. Sometimes they killed the crew; at other times they put them ashore on some desert island.

For years, Americans and English had been waging war against these pirates, but without success. With their small boats the robbers would run into the shallow bays and creeks, where no other vessels could follow them; and so they had grown bolder and bolder every year.

Ever since peace had been declared with England, Captain Porter had been a commissioner of the navy, and had made no sea voyages. But now he offered to resign his position, and drive the pirates from the sea. He said he would do this upon one condition. He must have a fleet of small vessels that could follow the pirates into their lurking places.

The government accepted his offer, and gave him orders to fit out such a fleet as he chose. He bought eight small schooners similar to those used by the pirates. To these were added five large rowboats or barges, which were called the Mosquito Fleet. David Farragut was assigned to one of the vessels named the Greyhound.