I want to know the answer to the following question:
What city did William Eaton capture to end the first Barbary War?
All the background I'm provided with is that "In 1805, after William Eaton captured the city of Derna, Tripoli agreed to a peace treaty.". Is that enough to answer the question?