Exhibit 10.13

    
FIFTH AMENDMENT
TO
LETTER OF CREDIT AGREEMENT
dated as of
April 23, 2014
among

NUSTAR LOGISTICS, L.P.,
NUSTAR ENERGY L.P.,
The Lenders Party Hereto
and
MIZUHO BANK, LTD.,
as Issuing Bank and Administrative Agent

    

3692666.3

--------------------------------------------------------------------------------

FIFTH AMENDMENT TO LETTER OF CREDIT AGREEMENT

THIS FIFTH AMENDMENT TO LETTER OF CREDIT AGREEMENT (this “Fifth Amendment”)
dated as of April 23, 2014, is among NUSTAR LOGISTICS, L.P., a Delaware limited
partnership (the “Borrower”); NUSTAR ENERGY L.P., a Delaware limited partnership
(the “MLP”); NUSTAR PIPELINE OPERATING PARTNERSHIP L.P., a Delaware limited
partnership (the “Subsidiary Guarantor” and, together with the Borrower and the
MLP, the “Obligors”); MIZUHO BANK, LTD. (formerly known as Mizuho Corporate
Bank, Ltd.), as administrative agent (in such capacity, the “Administrative
Agent”) and as Issuing Bank; and the undersigned Lender (collectively, the
“Lenders”).
R E C I T A L S
A.    The Borrower, the MLP, the Administrative Agent and the Lenders are
parties to that certain Letter of Credit Agreement dated as of June 5, 2012 (as
amended, the “Reimbursement Agreement”), pursuant to which the Issuing Bank and
the Lenders have made certain extensions of credit available to the Borrower.
B.    The Subsidiary Guarantor is a party to that certain Subsidiary Guaranty
Agreement dated as of June 5, 2012 made by each of the Guarantors (as defined
therein) in favor of the Administrative Agent (the “Subsidiary Guaranty”).
C.    The Borrower has requested and the Administrative Agent, the Issuing Bank,
and the Lenders have agreed to amend certain provisions of the Reimbursement
Agreement.
D.    NOW, THEREFORE, in consideration of the premises and the mutual covenants
herein contained, for good and valuable consideration, the receipt and
sufficiency of which are hereby acknowledged, the parties hereto agree as
follows:
Section 1.Defined Terms. Each capitalized term used herein but not otherwise
defined herein has the meaning given such term in the Reimbursement Agreement.
Unless otherwise indicated, all references to Sections and Articles in this
Fifth Amendment refer to Sections and Articles of the Reimbursement Agreement.
Section 2.    Amendment to Reimbursement Agreement.
2.1    Amendment to Section 1.01. Section 1.01 of the Reimbursement Agreement is
hereby amended to delete the definition of “Maturity Date” in its entirety and
replace it with the following:

“Maturity Date means June 5, 2015.”
    
Section 3.    Conditions Precedent. This Fifth Amendment shall not become
effective until the date on which each of the following conditions is satisfied
(or waived in accordance with Section 10.02 of the Reimbursement Agreement) (the
“Effective Date”):
3.1    The Administrative Agent, the Issuing Bank, and the Lenders shall have
received all fees and other amounts due and payable, if any, in connection with
this Fifth Amendment on or prior to the Effective Date.

3692666.3

--------------------------------------------------------------------------------

3.2    The Administrative Agent shall have received from the Borrower, the MLP,
the Subsidiary Guarantor, the Issuing Bank and the Lenders, counterparts (in
such number as may be requested by the Administrative Agent) of this Fifth
Amendment signed on behalf of such Persons.
3.3    The Administrative Agent shall have received such other documents as the
Administrative Agent or special counsel to the Administrative Agent may
reasonably request.
3.4    No Default shall have occurred and be continuing, after giving effect to
the terms of this Fifth Amendment.
Section 4.    Miscellaneous.
4.1    Confirmation. The provisions of the Reimbursement Agreement, as amended
by this Fifth Amendment, shall remain in full force and effect following the
effectiveness of this Fifth Amendment.
4.2    Ratification and Affirmation; Representations and Warranties. Each
Obligor hereby: (a) acknowledges the terms of this Fifth Amendment; (b) ratifies
and affirms its obligations under, and acknowledges, renews and extends its
continued liability under, each Loan Document to which it is a party and agrees
that each Loan Document to which it is a party remains in full force and effect,
except as expressly amended hereby, after giving effect to the amendments
contained herein; (c) agrees that from and after the Effective Date each
reference to the Reimbursement Agreement in the Subsidiary Guaranty and the
other Loan Documents shall be deemed to be a reference to the Reimbursement
Agreement, as amended by this Fifth Amendment; and (d) represents and warrants
to the Administrative Agent, the Issuing Bank, and the Lenders that as of the
date hereof, after giving effect to the terms of this Fifth Amendment: (i) all
of the representations and warranties contained in each Loan Document to which
it is a party are true and correct, unless such representations and warranties
are stated to relate to a specific earlier date, in which case, such
representations and warranties shall continue to be true and correct as of such
earlier date and (ii) no Default has occurred and is continuing.
4.3    Loan Document. This Fifth Amendment is a “Loan Document” as defined and
described in the Reimbursement Agreement and all of the terms and provisions of
the Reimbursement Agreement relating to Loan Documents shall apply hereto.
4.4    Counterparts. This Fifth Amendment may be executed by one or more of the
parties hereto in any number of separate counterparts, and all of such
counterparts taken together shall be deemed to constitute one and the same
instrument. Delivery of this Fifth Amendment by facsimile transmission shall be
effective as delivery of a manually executed counterpart hereof.
4.5    NO ORAL AGREEMENT. THIS FIFTH AMENDMENT, THE REIMBURSEMENT AGREEMENT AND
THE OTHER LOAN DOCUMENTS EXECUTED IN CONNECTION HEREWITH AND THEREWITH REPRESENT
THE FINAL AGREEMENT AMONG THE PARTIES AND MAY NOT BE CONTRADICTED BY EVIDENCE OF
PRIOR, CONTEMPORANEOUS, OR UNWRITTEN ORAL AGREEMENTS OF THE PARTIES. THERE ARE
NO ORAL AGREEMENTS BETWEEN THE PARTIES.

2
3692666.3

--------------------------------------------------------------------------------

4.6    GOVERNING LAW. THIS FIFTH 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 NEW YORK.
[SIGNATURES BEGIN ON NEXT PAGE]

3
3692666.3

--------------------------------------------------------------------------------

IN WITNESS WHEREOF, the parties hereto have caused this Fifth Amendment to be
duly executed as of the date first written above.

NUSTAR LOGISTICS, L.P.

By:    NuStar GP, Inc., its General Partner

By:        /s/ Thomas R. Shoaf        
Name:        Thomas R. Shoaf        
Title:         Executive Vice President and Chief Financial
Officer                

NUSTAR ENERGY L.P.

By:
Riverwalk Logistics, L.P., its General Partner

By:    NuStar GP, LLC, its General Partner

By:        /s/ Thomas R. Shoaf        
Name:        Thomas R. Shoaf        
Title:         Executive Vice President and Chief Financial
Officer                

NUSTAR PIPELINE OPERATING PARTNERSHIP L.P.

By:        /s/ Thomas R. Shoaf        
Name:        Thomas R. Shoaf        
Title:         Executive Vice President and
Chief Financial Officer                

SIGNATURE PAGE TO FIFTH AMENDMENT TO LETTER OF CREDIT AGREEMENT

--------------------------------------------------------------------------------

MIZUHO BANK, LTD.
(formerly known as Mizuho Corporate Bank, Ltd.),
as Issuing Bank, as Administrative Agent, and as a Lender

By:     /s/ Raymond Ventura            
Raymond Ventura
Deputy General Manager

SIGNATURE PAGE TO FIFTH AMENDMENT TO LETTER OF CREDIT AGREEMENT