Spanish coal on way out?

Coal rapidly seems to be losing ground as an energy source for Spain’s electricity supply. The government favours gas-fired power stations.