 As punishment for piracy, an East India Company vessel bombarded Doha in 1821, destroying the town and forcing hundreds of residents to flee.In 1825, the House of Thani was established with Sheikh Mohammed bin Thani as the first leader.Although Qatar was considered a dependency of Bahrain, the Al Khalifa faced opposition from the local tribes.