In 2004, the Foreign Ownership of Real Estate Law was passed, permitting non-Qatari citizens to buy land in designated areas of Doha, including the West Bay Lagoon, the Qatar Pearl, and the new Lusail City. Prior to this, expatriates were prohibited from owning land in Qatar. Ownership by foreigners in Qatar entitles them to a renewable residency permit, which allows them to live and work in Qatar.