Exhibit 5.1

| | | | |
| | 609 Main Street Houston, TX 77002 United States +1 713 836 3600 www.kirkland.com | | Facsimile: +1 713 836 3601 |
January 25, 2024
ESGEN Acquisition Corporation
5956 Sherry Lane, Suite 1400
Dallas, Texas 75225
Ladies and Gentlemen:
We have acted as special legal counsel to ESGEN Acquisition Corporation, a Cayman Islands exempted company (“ESGEN”), in connection with the Registration Statement on Form S-4, initially filed with the U.S. Securities and Exchange Commission (the “Commission”) on September 18, 2023 (File No. 333-274551), as amended and supplemented through the date hereof pursuant to the Securities Act of 1933, as amended (the “Act”) (such Registration Statement, as amended or supplemented, is hereafter referred to as the “Registration Statement”), relating to the Business Combination Agreement, dated April 19, 2023 (as amended, supplemented or otherwise modified through the date hereof, the “Initial Business Combination Agreement”), by and among ESGEN, Sunergy Renewables, LLC, a Nevada limited liability company (“Sunergy”), ESGEN OpCo, LLC, a Delaware limited liability company and wholly owned subsidiary of ESGEN (“OpCo”), the Sunergy equityholders set forth on the signature pages thereto (collectively, the “Sellers”), ESGEN LLC, a Delaware limited liability company (the “Sponsor”), for the limited purposes set forth therein, and Timothy Bridgewater, an individual, in his capacity as the representative of the Sellers as amended by the First Amendment thereto, dated as of January 24, 2024 (the “First Amendment” and together with the Initial Business Combination Agreement, the “Amended Business Combination Agreement”), by and between ESGEN and Sunergy. In connection with and immediately prior to the transactions contemplated by the Amended Business Combination Agreement (the “Business Combination”), ESGEN will change its jurisdiction of incorporation through the transfer by way of continuation and deregistration of the Company from the Cayman Islands and the continuation and domestication of the Company as a corporation incorporated in the State of Delaware (the “Domestication”).
In connection with the Domestication, ESGEN will change its jurisdiction of incorporation by effecting a deregistration under Part XII of the Cayman Islands Companies Act (As Revised) and a domestication under Section 388 of the General Corporation Law of the State of Delaware (the “DGCL”) by filing a certificate of corporate domestication simultaneously with a certificate of incorporation, in each case in respect of ESGEN with the Secretary of State of the State of Delaware (the “Delaware Secretary of State”). The Domestication is subject to the approval of the shareholders of ESGEN. We refer herein to ESGEN following effectiveness of the Domestication as “New PubCo”.
Prior to the Domestication and after giving effect to the exercise of redemption rights by any ESGEN shareholders and to any required forfeitures of Class B ordinary shares, par value $0.0001 per share, of ESGEN (“Class B ordinary shares”) pursuant to the Amended Business Combination Agreement, each outstanding Class B ordinary share will convert into one Class A ordinary share, par value $0.0001 per share, of ESGEN (“Class A ordinary shares”). On the effective date of the Domestication, (i) each issued and outstanding Class A ordinary share, after giving effect to any required forfeitures pursuant to the Amended Business Combination Agreement, will be converted, on a one-for-one basis, into duly authorized, validly issued, fully paid and non-assessable shares of Class A common stock, par value $0.0001 per share, of New PubCo (the “New PubCo Class A Common Stock”); (ii) each issued and outstanding warrant of ESGEN to purchase Class A ordinary shares of ESGEN (the “ESGEN Warrants”) underlying the Units (as defined below) issued in ESGEN’s initial public offering will automatically represent the right to purchase one share of New PubCo Class A Common Stock at an exercise price of $11.50 per share of New PubCo Class A Common Stock (the “New PubCo Warrants”) on the terms and conditions set forth in the Warrant Agreement, dated as of October 22, 2021, as the same may be amended from
Austin Bay Area Beijing Boston Brussels Chicago Dallas Hong Kong London Los Angeles Miami Munich New York Paris Salt Lake City Shanghai Washington, D.C.