**Exhibit 12.1**

**CERTIFICATION**

I, Rafael MirandaRobredo, certify that:

1.     I havereviewed this annual report on Form 20-F of Endesa, S.A.;

2.     Based onmy knowledge, this report does not contain any untrue statement of a materialfact or omit to state a material fact necessary to make the statements made, inlight of the circumstances under which such statements were made, notmisleading with respect to the period covered by this report;

3.     Based onmy knowledge, the financial statements, and other financial informationincluded in this report, fairly present in all material respects the financialcondition, results of operations and cash flows of the company as of, and for,the periods presented in this report;

4.     Thecompany’s other certifying officer and I are responsible for establishing andmaintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e))and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and15d-15(f)) for the company and have:

(a)    Designedsuch disclosure controls and procedures, or caused such disclosure controls andprocedures to be designed under our supervision, to ensure that materialinformation relating to the company, including its consolidated subsidiaries,is made known to us by others within those entities, particularly during theperiod in which this report is being prepared;

(b)   Designedsuch internal control over financing reporting, or caused such internal controlover financial reporting to be designed under our supervision, to providereasonable assurance regarding the reliability of financial reporting and thepreparation of financial statements for external purposes in accordance withgenerally accepted accounting principles;

(c)    Evaluatedthe effectiveness of the company’s disclosure controls and procedures andpresented in this report our conclusions about the effectiveness of thedisclosure controls and procedures, as of the end of the period covered by thisreport based on such evaluation; and

(d)   Disclosedin this report any change in the company’s internal control over financialreporting that occurred during the period covered by the annual report that hasmaterially affected, or is reasonably likely to materially affect, the company’sinternal control over financial reporting; and

5.     Thecompany’s other certifying officer and I have disclosed, based on our mostrecent evaluation of internal control over financial reporting, to the company’sauditors and the audit committee of the company’s board of directors (orpersons performing the equivalent functions):

(a)    Allsignificant deficiencies**andmaterial weaknesses in the design or operation of internal control overfinancial reporting which are reasonably likely to adversely affect the company’sability to record, process, summarize and report financial information; and

(b)   Any fraud, whether or not material, thatinvolves management or other employees who have a significant role in thecompany’s internal control over financial reporting.
| Date:  June 1,  2007 |   |
|--------------------------------|--------|
|                           | By:    | /S/  RAFAEL MIRANDA ROBREDO |
|                           |   | Name: | Rafael Miranda Robredo |
|                           |   | Title: | *Chief Executive Officer* |

 

----