Spain, along with other European Union States, has a target of generating 32% of all its energy needs from renewable energy sources by 2030. A previous target of 20% for 2020, with an additional 0.8% available for other EU countries under the cooperation mechanism, was reached and slightly surpassed. In 2021, renewables generated 46.7% of Spain's electricity needs, the largest part of it from wind power (23.3%), followed by hydroelectric (11.4%), solar (9.9%), and other renewables (2.2%). Development Electricity from renewable sources in Spain represented 42.8% of electricity demand coverage during 2014. The country has a very large wind power capability built up over many years and is one of the world leaders in wind power generation. Initially Spain also positioned itself as a European leader in solar power, by 2007-2010 the country was second only to Germany in installed capacity, however other countries (Italy in particular) have since leapfrogged Spanish development. By 2015 solar power in Spain though significant produced less than a third of that of wind power in 2015. The story of renewable energy development in Spain is both a mixed and unfinished one. Under previous subsidies the country expanded its renewable base rapidly and helped establish a domestic industry in both wind turbine and solar energy. However, support was drastically cut back following the global financial crisis and new installations stagnated between 2012 and 2015. The debts incurred during the boom period have led to tougher and retrospective revisions of contracts to providers of renewable energy reducing returns considerably. In being one of the first-to-market countries, Spain faces the challenge of powerful competitors from countries such as Denmark, Germany and China and ironically a cheaper and more mature renewable energy sector which Spain itself helped to pioneer. In 2015 solar power suddenly demonstrated a possible way through the impasse. The continued fall in prices for solar systems and Spain's abundant sunshine led to prices for solar power reaching grid price parity. Suddenly there was the potential for sustained and spontaneous growth in solar installations in Spain as households and producers could produce power more economically. However the Spanish government introduced what has been dubbed the world's first "sun tax" on solar installations making them economically less viable as well as draconian fines (up to 60 million Euros) for anyone not complying with the tax. The tax has proved highly controversial. On the one hand the government