The joint Bahraini-Abu Dhabi incursion and subsequent Qatari counterattack prompted the British political agent, Colonel Lewis Pelly, to impose a settlement in 1868. Pelly's mission to Bahrain and Qatar and the peace treaty that resulted were milestones in Qatar's history. It implicitly recognized Qatar as a distinct entity independent from Bahrain and explicitly acknowledged the position of Mohammed bin Thani as an important representative of the peninsula's tribes.