 Basically, between 1800 and 1803, we tried to blockade Tripoli to no effect because the Barbary states are all working together because we don't have enough ships to blockade that port. And so there's sort of a standstill. There's a series of actions, but nothing incredibly exciting until 1803 when the Philadelphia is chasing a tripolitan ship into the harbor of Tripoli. And apparently the captain and his navigator, David Porter, is the navigator. William Bainbridge is the captain. Apparently they don't have a very good map of the tripolitan harbor, and they run the ship aground on a reef that the tripolitan ship would have had knowledge of. It's the largest ship in the Navy at that time, and William Bainbridge tries to save the ship by throwing everything he can find off the ship. So they're unloading cannon, they're throwing it into the water. He's trying to get the ship to lift, so it will free from the reef, but he's not able to free the ship. So the tripolitans capture the ship, they capture the crew of about 307 men, and they take them into the city of Tripoli and put them in a prison, and then they use the American men to refit the Philadelphia to use as their own warship, because the next day the tripolitans are able to free the ship from the reef and bring that ship into their harbor. So that's a very difficult situation for the Americans. They have, the tripolitans have managed to capture the largest ship in the Navy. They've got 307 hostages to work with. In 1805 we signed a treaty with Tripoli, and it's really through that treaty diplomatically that things are solved. William Eaton, who's a counsel or an American diplomat in Tunis, is extremely aggravated that we're paying money to pirates. So he pitches a plan to the president that we should take land forces into Tripoli, so we have the Navy working, we'll have Marines in Tripoli, and we'll be able to take the country. And William Eaton convinces the Bashas, the leader of Tripoli's brother, Hammett to work with us. Eaton and about 200 Marines and several thousand tripolitan burbers, all kinds of people who flock to that banner of Hammett, do in fact have this long dramatic march through Tripoli, and are able to stake out the city of Derna. And they're holding that city, and William Eaton believes that they're holding it successfully, but there are thousands and thousands of tripolitan surrounding them, and the Bashas are just sending some of his professor and soldiers down there. So it looks very bad for him. Meanwhile, Tobias Lear has been sent over to make final negotiations, and he agrees to pay $60,000 to free those American sailors who've been captured, including William Bainbridge, and signs a favorite nation treaty with the Bashas that includes basically presents, which are tribute payments, but they call them presents. So from an American point of view, it looks like he's arranged a treaty that does not include tribute, but from the Bashas point of view, he expects those presents, and to him, it's tribute.