 Qatar has been ruled by the House of Thani since Mohammed bin Thani signed a treaty with the British in 1868 that recognised its separate status.Following Ottoman rule, Qatar became a British protectorate in the early 20th century until gaining independence in 1971.In 2003, the constitution was overwhelmingly approved in a referendum, with almost 98% in favour.