As part of its effort to attract foreign investment and diversify the economy, Saudi Arabia acceded to the WTO in 2005 after many years of negotiations.