The main regulation regarding the electricity sector was Royal Decree-Law June, which approved measures in the field of energy and in other areas for economic recovery, the objective of which is to create a regulatory framework that favours the development of sustainable investments to carry out the energy transition.