##### 



Exhibit
10.23
 First Amendment
 to
 Amended And Restated Credit Agreement
  Linn Energy,
 Paribas,




---



##### 



First Amendment to Amended and Restated Credit Agreement
 First Amendment to Amended and Restated Credit Agreement First
Amendment First Amendment Effective
Date Linn Energy, Borrower Guarantors Obligors Paribas Administrative Agent
  Credit Agreement
   Defined Terms
 Amendments to Credit Agreement
 Definitions
 Agreement
 Swap Agreements
 Swap Agreements.




---



##### 



Conditions Precedent.
 Payment of Outstanding Invoices.
 First Amendment.
 No Default.
 Representations and Warranties; Etc.




---



##### 



Miscellaneous.
 Confirmation.
 Ratification and Affirmation of Obligors.
 Counterparts.
 No Oral Agreement. This written First Amendment, the Credit Agreement
and the other Loan Documents executed in connection herewith and therewith represent the final
agreement between the parties and may not be contradicted by evidence of prior, contemporaneous, or
unwritten oral agreements of the parties. There are no subsequent oral agreements between the
parties.
 Governing Law. This First Amendment (including, but not limited to, the
validity and enforceability hereof) shall be governed by, and construed in accordance with, the laws of the State of Texas.




---



##### 



BORROWER:
    
    LINN ENERGY, LLCBy:
    
    /s/ Kolja RockovKolja Rockov, Executive Vice President
and Chief Financial Officer




---



##### 



GUARANTORS:
    
    LINN ENERGY HOLDINGS, LLCBy:
    
    /s/ Kolja RockovKolja Rockov, Executive Vice President and
Chief Financial OfficerLINN OPERATING, INC.By:
    
    /s/ Kolja RockovKolja Rockov, Executive Vice President
and Chief Financial OfficerMID ATLANTIC WELL SERVICE, INC.By:
    
    /s/ Roland P. KeddieRoland P. KeddieVice President




---



##### 



ADMINISTRATIVE AGENT:
    
    BNP PARIBAS,as Administrative Agent and LenderBy:
    
    /s/ Betsy JocherName:
    
    Betsy JocherTitle:
    
    DirectorBy:
    
    /s/ Gabe EllisorName:
    
    Gabe EllisorTitle:
    
    Vice President




---



##### 



LENDERS:
    
    ROYAL BANK OF CANADA,as a SyndicationAgent and a LenderBy:
    
    /s/ Don J. McKinnerneyName:
    
    Don J. McKinnerneyTitle:
    
    Authorized Signatory




---



##### 



SOCIETE GENERALE,as a Syndication Agentand a LenderBy:
    
    /s/ Graeme R. BullenName:
    
    Graeme R. BullenTitle:
    
    Director




---



##### 



COMERICA BANK,as a Documentation Agentand a LenderBy:
    
    /s/ Huma VadgamaName:
    
    Huma VadgamaTitle:
    
    Vice President




---



##### 



BANK OF AMERICA, N.A., as a DocumentationAgent and a LenderBy:
    
    /s/ Charles W. PattersonName:
    
    Charles W. PattersonTitle:
    
    Managing Director




---



##### 



BANK OF SCOTLAND, as a LenderBy:
    
    /s/ Karen WeichName:
    
    Karen WeichTitle:
    
    Assistant Vice President




---



##### 



FORTIS CAPITAL CORP.,as a LenderBy:
    
    /s/ David MontgomeryName:
    
    David MontgomeryTitle:
    
    Senior Vice PresidentBy:
    
    /s/ Darrell HolleyName:
    
    Darrell HolleyTitle:
    
    Managing Director




---



##### 



LEHMAN COMMERICAL PAPER INC. andits affiliates,as a LenderBy:
    
    /s/ Maria Maslennikova LundName:
    
    Maria Maslennikova LundTitle:
    
    Vice President