In 1858, the Ottoman Empire, which ruled the area of modern-day Iraq as part of Ottoman Iraq province, abolished its existing sodomy laws. The assumption of control over the three vilayets of the province by the British (as a League of Nations mandate known as the British Mandate of Mesopotamia) imposed anti-sodomy laws on the province which would remain well after independence in 1932.