The political system of Qatar is a semi-constitutional monarchy with the emir as head of state and chief executive, and the prime minister as the head of government. Under the Constitution of Qatar, the partially-elected Consultative Assembly has a limited ability to reject legislation and dismiss ministers. The first general election was held in 2021. The hereditary emir of Qatar (currently, Tamim bin Hamad al-Thani) holds nearly all executive and legislative authority, as well as controlling the judiciary. He appoints the prime minister and cabinet. According to Freedom House, political rights are limited. Legal system Sharia law is a main source of Qatari legislation according to Qatar's constitution. Sharia law is applied to laws pertaining to family law, inheritance, and several criminal acts (including adultery, robbery and murder). In some cases in Sharia-based family courts, a female's testimony is worth half a man's and in some cases a female witness is not accepted at all. Codified family law was introduced in 2006. In practice, Qatar's legal system is a mixture of civil law and Islamic law. Flogging is used in Qatar as a punishment for alcohol consumption or illicit sexual relations. Article 88 of Qatar's criminal code declares the punishment for adultery is 100 lashes. Adultery is punishable by death when a Muslim woman and a non-Muslim man are involved. In 2006, a Filipino woman was sentenced to 100 lashes for adultery. In 2010, at least 18 people (mostly foreign nationals) were sentenced to flogging of between 40 and 100 lashes for offences related to "illicit sexual relations" or alcohol consumption. In 2011, at least 21 people (mostly foreign nationals) were sentenced to floggings of between 30 and 100 lashes for offences related to "illicit sexual relations" or alcohol consumption. In 2012, six expatriates were sentenced to floggings of either 40 or 100 lashes. Only Muslims considered medically fit were liable to have such sentences carried out. It is unknown if the sentences were implemented. More recently in April 2013, a Muslim expatriate was sentenced to 40 lashes for alcohol consumption. In June 2014, a Muslim expatriate was sentenced to 40 lashes for consuming alcohol and driving under the influence. Judicial corporal punishment is common in Qatar due to the Hanbali interpretation of Sharia Law. In 2016, Saudi Instagram star and model King Luxy was arrested in Qatar for allegedly being homosexual. He spent 2 months in custody before he