The country established diplomatic relations with the Safavid dynasty of Persia, the Ottomans of Hejaz, the Mughal Empire in India and Ethiopia. The Fasilides of Ethiopia sent three diplomatic missions to Yemen, but the relations did not develop into a political alliance as Fasilides had hoped, due to the rise of powerful feudalists in the country. In the first half of the 18th century, the Europeans broke Yemen's monopoly on coffee by smuggling out coffee trees and cultivating them in their own colonies in the East Indies, East Africa, the West Indies and Latin America. The imammate did not follow a cohesive mechanism for succession, and family quarrels and tribal insubordination led to the political decline of the Qasimi dynasty in the 18th century. In 1728 or 1731 the chief representative of Lahej declared himself an independent Sultan in defiance of the Qasimid Dynasty and conquered Aden thus establishing the Sultanate of Lahej. The rising power of the fervently Islamist Wahhabi movement on the Arabian Peninsula cost the Zaidi state its coastal possessions after 1803. The imam was able to regain them temporarily in 1818, but new intervention by the Ottoman viceroy of Egypt in 1833 again wrested the coast from the ruler in Sana'a. After 1835 the imamate changed hands with great frequency and some imams were assassinated. After 1849 the Zaidi polity descended into chaos that lasted for decades. Great Britain and the nine regions The British were looking for a coal depot to service their steamers en route to India. It took 700 tons of coal for a round-trip from Suez to Bombay. East India Company officials decided on Aden. London tried to reach an agreement with the Zaydi imam of Sana'a permitting them a foothold in Mocha; and when unable to secure their position, they extracted a similar agreement from the Sultan of Lahej, enabling them to consolidate a position in Aden. An incident played into British hands when, while passing Aden for trading purposes, one of their sailing ships sank and Arab tribesmen boarded it and plundered its contents. The British India government dispatched a warship under the command of Captain Stafford Bettesworth Haines to demand compensation. Haines bombarded Aden from his warship in January 1839. The ruler of Lahej, who was in Aden at the time, ordered his guards to defend the port, but they failed in the face of overwhelming military and naval