CREDIT AGREEMENT Dated as of December 11, 2019 among LEGACY RESERVES INC. as the Borrower, The Several Lenders from Time to Time Parties Hereto, and WELLS FARGO BANK, NATIONAL ASSOCIATION, as Administrative Agent, Collateral Agent and an Issuing Bank