Document:

EX-10.1

THIRD AMENDMENT TO

AMENDED REVOLVING CREDIT AGREEMENT

THIRD AMENDMENT, dated as of June 29, 2007 (this “Amendment”), to the Amended
Revolving Credit Agreement, dated as of June 22, 2006 (as amended by the First Amendment, dated as
of August 4, 2006, as further amended by the Waiver, Consent, Partial Release and Second Amendment,
dated as of February 28, 2007, and as further amended, restated or otherwise modified from time to
time, the “Credit Agreement”), by and among Alon USA Energy, Inc., a Delaware corporation
(the “Parent”), Alon USA, LP, f/k/a SWBU, L.P., a Texas limited partnership (“Alon
LP”; and together with such other subsidiaries of the Parent as may be designated as a borrower
hereunder by Alon LP with the prior written consent of the Agent and the Required Lenders (as
defined in the Credit Agreement), each individually a “Borrower”, and, collectively, the
"Borrowers”), all direct and indirect subsidiaries of the Parent (other than subsidiaries
of Alon USA Interests, LLC, a Texas limited liability company and the Bank of America Financed
Subsidiaries (as defined in the Credit Agreement)(together with the Parent, each individually a
"Guarantor Company”, and, collectively, the “Guarantor Companies”), the financial
institutions from time to time party hereto (each a “Lender” and collectively, the
"Lenders”), Israel Discount Bank of New York, as administrative agent, co-arranger and
collateral agent for the Lenders (in such capacity, the “Agent”), and Bank Leumi USA, as
co-arranger for the Lenders (“Bank Leumi”).

W I T N E S S E T H

WHEREAS, the Borrowers, the Guarantor Companies, the Lenders, the Agent and Bank Leumi are
parties to the Credit Agreement, pursuant to which the Lenders have made revolving loans to the
Borrowers; and

WHEREAS, the Loan Parties, the Lenders, Bank Leumi and the Agent wish to amend the Credit
Agreement and the Loan Documents, in order to terminate (i) the obligation to continue to deliver
audited annual financial statements and quarterly unaudited financial statements, in each case, for
Alon USA and its Consolidated Subsidiaries, and (ii) the requirement that Alon USA and it
Consolidated Subsidiaries maintain a minimum Consolidated Tangible Net Worth in accordance with
Section 7.02(i)(i).

NOW THEREFORE, in consideration of the foregoing and the mutual covenants herein contained,
and for other good and valuable consideration, the receipt and sufficiency of which are hereby
acknowledged, the parties hereby agree as follows:

1. Definitions. Any capitalized term used herein and not defined shall have the
meaning assigned to it in the Credit Agreement.

2. Acknowledgement of Waiver. The Agent and the Lenders acknowledge that, commencing
as of March 31, 2007, they agreed at the request of the Company to waive the requirement for the
delivery of annual and quarterly financial statements of Alon USA and its Consolidated
Subsidiaries.

3. Amendment to Credit Agreement. The Credit Agreement is hereby amended by:

(a) amending and restating Section 7.01(a)(i) in its entirety to read as follows:

"(i) as soon as available and in any event within 60 days after the end of each
of the first three Fiscal Quarters of the Parent in each Fiscal Year,
consolidated balance sheets, consolidated statements of income and consolidated
statements of cash flow of the Parent and its Consolidated Subsidiaries as at
the end of such Fiscal Quarter; and for the period commencing at the end of the
immediately preceding Fiscal Year and ending with the end of such Fiscal
Quarter, setting forth in each case in comparative form the figures for the
corresponding date or period of the immediately preceding Fiscal Year, all in
reasonable detail and (A) certified by the chief financial officer of the Parent
as fairly presenting, in all material respects, the financial position and the
results of operations and changes in financial position, as of the end of such
Fiscal Quarter of the Parent and its Consolidated Subsidiaries, in accordance
with GAAP applied in a manner consistent with that of the most recent audited
financial statements furnished to the Lenders, subject to year end adjustments,
and (B) accompanied by a review report thereon of KPMG, LLP or other independent
certified public accountants of recognized standing selected by the Parent and
satisfactory to the Agent (it being agreed that any “Big Four” accounting firm
shall be deemed acceptable), which report shall state that such accountants
reviewed such consolidated balance sheets, statements of income and statements
of cash flow and that based on such review, such accountants are not aware of
any material modifications that should be made in such financial statements in
order for them to be in conformity with GAAP;”

(b) amending and restating Section 7.01(a)(ii) in its entirety to read as follows:

"(ii) as soon as available, and in any event within 90 days after the end of
each Fiscal Year of the Parent, the audited consolidated balance sheets,
consolidated statements of income and consolidated statements of stockholders’
equity and consolidated statements of cash flow of the Parent and its
Consolidated Subsidiaries as at the end of such Fiscal Year, setting forth in
comparative form the corresponding figures for the immediately preceding Fiscal
Year, all in reasonable detail and prepared in accordance with GAAP, and (in the
case of the consolidated balance sheets and statements of income, stockholders’
equity and cash flow) accompanied by a report and an unqualified opinion,
prepared in accordance with generally accepted auditing standards, of KPMG, LLP
or other independent certified public accountants of recognized standing
selected by the Parent and satisfactory to the Agent (it being agreed that any
“Big Four” accounting firm shall be deemed acceptable);”.

(c) amending and restating Section 7.02(i)(i) in its entirety to read as follows:

"(i) Reserved.”.

4. Conditions to Effectiveness. This Amendment shall become effective (the “Third
Amendment Effective Date”) upon the Agent’s receipt of counterparts of this Amendment which
bear the signatures of the Loan Parties, the Agent and the Lenders.

5. Reservation of Rights. No action or acquiescence by the Agent and the Lenders,
including, without limitation, this Amendment of, or the acceptance of any payments under, the
Credit Agreement, shall constitute a waiver of any Default or Event of Default which may exist as
of the Third Amendment Effective Date. Accordingly, the Agent and the Lenders reserve all of their
rights under the Credit Agreement, the Loan Documents, at law and otherwise regarding any such
Default or Event of Default.

6. Continued Effectiveness of Loan Documents. Each of the Loan Parties hereby (i)
confirms and agrees that each Loan Document to which it is a party is, and shall continue to be, in
full force and effect and is hereby ratified and confirmed in all respects except that on and after
the Third Amendment Effective Date all references in any such Loan Document to “the Credit
Agreement”, “thereto”, “thereof”, “thereunder” or words of like import referring to the Credit
Agreement shall mean the Credit Agreement as amended by this Amendment, and (ii) confirms and
agrees that to the extent that any such Loan Document purports to assign or pledge to the
Collateral Agent, or to grant to the Collateral Agent a security interest in or lien on, any
collateral as security for the Obligations of the Loan Parties from time to time existing in
respect of the Credit Agreement and the Loan Documents, such pledge, assignment and/or grant of the
security interest or lien is hereby ratified and confirmed in all respects.

7. Miscellaneous.

(a) This Amendment may be executed in any number of counterparts and by different parties
hereto in separate counterparts, each of which shall be deemed to be an original, but all of which
taken together shall constitute one and the same agreement. Delivery of a counterpart hereby by
facsimile transmission shall be equally effective as delivery of a manually executed counterpart
hereof.

(b) Section and paragraph headings herein are included for convenience of reference only and
shall not constitute a part of this Amendment for any other purpose.

(c) This Amendment shall be governed by, and construed in accordance with, the laws of the
State of New York.

(d) The Loan Parties will pay on demand all fees, reasonable out-of-pocket costs and expenses
of the Agent in connection with the preparation, execution and delivery of this Amendment,
including, without limitation, the reasonable fees, out-of-pocket disbursements and other client
charges of Schulte Roth & Zabel LLP.

[REMAINDER OF THIS PAGE INTENTIONALLY LEFT BLANK]

1

IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be executed by
their respective officers thereunto duly authorized, as of the date first above written.

Borrowers:

ALON USA, LP

By: Alon USA GP, LLC, a Delaware limited

liability company, its general partner

By: /s/ David Wiessman

Name: David Wiessman

Title: Chairman of the Board of Managers

2

Guarantor Companies:

ALON ASSETS, INC.

ALON USA OPERATING, INC

ALON USA REFINING, INC.

ALON ASPHALT BAKERSFIELD, INC

ALON USA, INC.

ALON USA ENERGY, INC.

ALON USA CAPITAL, INC.

By: /s/ David Wiessman

Name: David Wiessman

Title: Chairman of the Board of Directors

ALON USA GP, LLC

By: /s/ David Wiessman

Name: David Wiessman

Title: Chairman of the Board of Managers

ALON USA INTERESTS, LLC

By: /s/ Jeffrey D. Morris

Name: Jeffrey D. Morris

Title: Chairman of the Board of Managers

ALON USA DELAWARE, LLC

ALON PIPELINE LOGISTICS, LLC

By: /s/ David Wiessman

Name: David Wiessman

Title: President

ALON CRUDE PIPELINE, LLC

ALON PARAMOUNT HOLDINGS, INC.

PARAMOUNT OF WASHINGTON, LLC

PARAMOUNT OF OREGON, LLC

By: /s/ Jeffrey D. Morris

Name: Jeffrey D. Morris

Title: President

3

Agent and Lender:

ISRAEL DISCOUNT BANK OF NEW YORK

By: /s/ Amir Barash

Name: Amir Barash

Title: First Vice President

By: /s/ Mali Golan

Name: Mali Golan

Title: Assistant Vice President

Lender and Co-arranger:

BANK LEUMI USA

By: /s/ Hanita Musel

Name: Hanita Musel

Title: Assistant Vice President

By: /s/ Michaela Klein

Name: Michaela Klein

Title: Senior Vice President

4EX-4.1

TENTH SUPPLEMENTAL INDENTURE FOR

ADDITIONAL SUBSIDIARY GUARANTEES

Tenth Supplemental Indenture (this “Supplemental Indenture for Additional
Guarantees”), dated as of July 19, 2007, among NRG Texas Power LLC (the “Guaranteeing Subsidiary”),
an indirect subsidiary of NRG Energy, Inc., a Delaware corporation (the “Company”), the Company,
the Existing Guarantors set forth on the signature page hereto (the “Existing Guarantors”) and Law
Debenture Trust Company of New York, as trustee under the indentures referred to below (the
“Trustee”).

W I T N E S S E T H

WHEREAS, the Company has heretofore executed and delivered to the Trustee an indenture (the
“Base Indenture”), dated as of February 2, 2006, between the Company and the Trustee, as amended by
a first supplemental indenture (the “First Supplemental Indenture”), dated as of February 2, 2006,
among the Company, the Guarantors named therein and the Trustee, providing for the original
issuance of an aggregate principal amount of $1,200 million of 7.250% Senior Notes due 2014 (the
“Initial Notes”), and, subject to the terms of the Indenture, future unlimited issuances of 7.250%
Senior Notes due 2014 (the “Additional Notes,” and together with the Initial Notes, the “Notes”), a
third supplemental indenture (the “Third Supplemental Indenture”), dated as of March 14, 2006,
among the Company, the Existing Guarantors party thereto and the Trustee, a fifth supplemental
indenture (the “Fifth Supplemental Indenture”), dated as of April 28, 2006, among the Company, the
Existing Guarantors party thereto and the Trustee and a seventh supplemental indenture, dated as of
November 13, 2006, among the Company, the Existing Guarantors and the Trustee (together with the
Base Indenture, the First Supplemental Indenture, the Third Supplemental Indenture and the Fifth
Supplemental Indenture, the “Indenture”);

WHEREAS, the Indenture provides that under certain circumstances the Guaranteeing Subsidiary
shall execute and deliver to the Trustee a supplemental indenture pursuant to which the
Guaranteeing Subsidiary shall unconditionally guarantee all of the Company’s Obligations under the
Notes and the Indenture (the “Additional Guarantees”); and

WHEREAS, pursuant to Section 4.17 of the First Supplemental Indenture, the Trustee, the
Company and the other Guarantors are authorized and required to execute and deliver this
Supplemental Indenture for Additional Guarantees.

NOW THEREFORE, in consideration of the foregoing and for good and valuable consideration, the
receipt of which is hereby acknowledged, the Guaranteeing Subsidiary, the Trustee, the Company and
the other Guarantors mutually covenant and agree for the equal and ratable benefit of the Holders
of the Notes as follows:

1. Capitalized Terms. Unless otherwise defined in this Supplemental Indenture for Additional
Guarantees, capitalized terms used herein without definition shall have the meanings assigned to
them in the Indenture.

2. Agreement to be Bound; Guarantee. The Guaranteeing Subsidiary hereby becomes a party to
the First Supplemental Indenture as a Guarantor and as such will have all of the rights and be
subject to all of the Obligations and agreements of a Guarantor under the Indenture. The
Guaranteeing Subsidiary hereby agrees to be bound by all of the provisions of the First
Supplemental Indenture applicable to a Guarantor and to perform all of the Obligations and
agreements of a Guarantor under the First Supplemental Indenture. In furtherance of the foregoing,
the Guaranteeing Subsidiary shall be deemed a Guarantor for purposes of Article 10 of the First
Supplemental Indenture, including, without limitation, Section 10.02 thereof.

3. NEW YORK LAW TO GOVERN. THE INTERNAL LAW OF THE STATE OF NEW YORK SHALL GOVERN AND BE USED
TO CONSTRUE THIS SUPPLEMENTAL INDENTURE FOR ADDITIONAL GUARANTEES BUT WITHOUT GIVING EFFECT TO
APPLICABLE PRINCIPLES OF CONFLICTS OF LAW TO THE EXTENT THAT THE APPLICATION OF THE LAWS OF ANOTHER
JURISDICTION WOULD BE REQUIRED THEREBY.

4. Counterparts. The parties may sign any number of copies of this Supplemental Indenture for
Additional Guarantees. Each signed copy shall be an original, but all of them together represent
the same agreement.

5. Effect of Headings. The Section headings herein are for convenience only and shall not
affect the construction hereof.

6. The Trustee. The Trustee shall not be responsible in any manner whatsoever for or in
respect of the validity or sufficiency of this Supplemental Indenture for Additional Guarantees or
for or in respect of the recitals contained herein, all of which recitals are made solely by the
Guaranteeing Subsidiary and the Company.

7. Ratification of Indenture; Supplemental Indenture for Additional Guarantees Part of
Indenture. Except as expressly amended hereby, the Indenture is in all respects ratified and
confirmed and all the terms, conditions and provisions thereof shall remain in full force and
effect. This Supplemental Indenture for Additional Guarantees shall form a part of the Indenture
for all purposes, and every Holder of Notes heretofore or hereafter authenticated and delivered
shall by bound hereby.

1

IN WITNESS WHEREOF, the parties hereto have caused this Supplemental Indenture for
Additional Guarantees to be duly executed and attested, all as of the date first above written.

Guaranteeing Subsidiary:

NRG Texas Power LLC

By:  /s/ Clint Freeland

Name: Clint Freeland

Title: Vice President and Treasurer

Issuer:

NRG ENERGY, INC.

By:  /s/ Clint Freeland

Name: Clint Freeland

Title: Vice President and Treasurer

Existing Guarantors:

ARTHUR KILL POWER LLC

ASTORIA GAS TURBINE POWER LLC

BERRIANS I GAS TURBINE POWER LLC

BIG CAJUN II UNIT 4 LLC

CABRILLO POWER I LLC

CABRILLO POWER II LLC

CHICKAHOMINY RIVER ENERGY CORP.

COMMONWEALTH ATLANTIC POWER LLC

CONEMAUGH POWER LLC

CONNECTICUT JET POWER LLC

DEVON POWER LLC

DUNKIRK POWER LLC

EASTERN SIERRA ENERGY COMPANY

EL SEGUNDO POWER LLC

EL SEGUNDO POWER II LLC

HANOVER ENERGY COMPANY

HOFFMAN SUMMIT WIND PROJECT, LLC

HUNTLEY IGCC LLC

HUNTLEY POWER LLC

INDIAN RIVER IGCC LLC

INDIAN RIVER OPERATIONS INC.

INDIAN RIVER POWER LLC

JAMES RIVER POWER LLC

KAUFMAN COGEN LP

KEYSTONE POWER LLC

LOUISIANA GENERATING LLC

MIDDLETOWN POWER LLC

MONTVILLE IGCC LLC

MONTVILLE POWER LLC

NEO CHESTER-GEN LLC

NEO CORPORATION

NEO FREEHOLD-GEN LLC

NEO POWER SERVICES INC.

NEW GENCO GP, LLC

NORWALK POWER LLC

NRG AFFILIATE SERVICES INC.

NRG ARTHUR KILL OPERATIONS INC.

NRG ASIA-PACIFIC, LTD.

NRG ASTORIA GAS TURBINE OPERATIONS, INC.

NRG BAYOU COVE LLC

NRG CABRILLO POWER OPERATIONS INC.

NRG CADILLAC OPERATIONS INC.

NRG CALIFORNIA PEAKER OPERATIONS LLC

NRG CONNECTICUT AFFILIATE SERVICES INC.

NRG DEVON OPERATIONS INC.

NRG DUNKIRK OPERATIONS INC.

NRG EL SEGUNDO OPERATIONS INC.

NRG GENERATION HOLDINGS, INC.

NRG HUNTLEY OPERATIONS INC.

NRG INTERNATIONAL LLC

NRG KAUFMAN LLC

NRG MESQUITE LLC

NRG MIDATLANTIC AFFILIATE SERVICES INC.

NRG MIDDLETOWN OPERATIONS INC.

NRG MONTVILLE OPERATIONS INC.

NRG NEW JERSEY ENERGY SALES LLC

NRG NEW ROADS HOLDINGS LLC

NRG NORTH CENTRAL OPERATIONS INC.

NRG NORTHEAST AFFILIATE SERVICES INC.

NRG NORWALK HARBOR OPERATIONS INC.

NRG OPERATING SERVICES, INC.

NRG OSWEGO HARBOR POWER OPERATIONS INC.

NRG POWER MARKETING INC.

NRG ROCKY ROAD LLC

NRG SAGUARO OPERATIONS INC.

NRG SOUTH CENTRAL AFFILIATE SERVICES INC.

NRG SOUTH CENTRAL GENERATING LLC

NRG SOUTH CENTRAL OPERATIONS INC.

NRG TEXAS LLC

NRG WEST COAST LLC

NRG WESTERN AFFILIATE SERVICES INC.

OSWEGO HARBOR POWER LLC

PADOMA WIND POWER, LLC

SAGUARO POWER LLC

SAN JUAN MESA WIND PROJECT II, LLC

SOMERSET OPERATIONS INC.

SOMERSET POWER LLC

TEXAS GENCO FINANCING CORP.

TEXAS GENCO GP, LLC

TEXAS GENCO HOLDINGS, INC.

TEXAS GENCO OPERATING SERVICES, LLC

VIENNA OPERATIONS INC.

VIENNA POWER LLC

WCP (GENERATION) HOLDINGS LLC

WEST COAST POWER LLC

By:   /s/ Clint Freeland

Name: Clint Freeland

Title: Treasurer

LAKE ERIE PROPERTIES INC.

By:  /s/ Clint Freeland

Name: Clint Freeland

Title: Vice President and Treasurer

GCP FUNDING COMPANY, LLC

TEXAS GENCO LP, LLC

By:  /s/ Clint Freeland

Name: Clint Freeland

Title: Manager

NRG SOUTH TEXAS LP

By: Texas Genco GP, LLC, its General Partner

By:  /s/ Clint Freeland

Name: Clint Freeland

Title: Vice President and Treasurer

TEXAS GENCO SERVICES, LP

By: New Genco GP, LLC, its General Partner

By:  /s/ Clint Freeland

Name: Clint Freeland

Title: Vice President and Treasurer

	 
	Attest:

	/s/ Tanuja M. Dehne

	 

	Name: Tanuja M. Dehne

Title: Corporate Secretary

	 	 	LAW DEBENTURE TRUST COMPANY OF NEW YORK,

as Trustee

By:   /s/ James D. Heaney

Name: James D. Heaney

Title: Vice President

2

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00126-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00126-of-00352.parquet"}]]