Spain imports the majority of its energy, though in April wind power became its largest source of electricity generation. Spanish producers are also building turbines and installing wind farms internationally, including in the U.S. Spain’s clean energy market has been a magnet for investment over the past decade, though the Spanish government has halted subsidies for renewable energy investment as it is a debt-burdened economy.