Exhibit 5.1
![LOGO](https://capedge.com/proxy/S-3/0001193125-22-079664/g344231page1.jpg)
Tel +1.214.220.7700 Fax +1.214.999.7816
March 18, 2022
Holly Energy Partners, L.P.
2828 N. Harwood, Suite 1300
Dallas, Texas 75201
Re: Registration Statement on Form S-3
Ladies and Gentlemen:
We have acted as counsel for Holly Energy Partners, L.P., a Delaware limited partnership (the “Partnership”), with respect to certain legal matters in connection with the preparation of a registration statement on Form S-3 (the “Registration Statement”) filed on the date hereof with the Securities and Exchange Commission (the “Commission”) in connection with the registration under the Securities Act of 1933 (the “Securities Act”) of the offer and resale, from time to time, pursuant to Rule 415 under the Securities Act, by the unitholder named as the Selling Unitholder in the Registration Statement, of up to 21,000,000 issued and outstanding common units representing limited partner interests in the Partnership (the “Common Units”).
In rendering the opinions set forth below, we have reviewed and relied upon (i) the Registration Statement, (ii) the Certificate of Limited Partnership of the Partnership, (iii) the Second Amended and Restated Agreement of Limited Partnership of the Partnership, (iv) the First Amended and Restated Agreement of Limited Partnership of HEP Logistics Holdings, L.P., a Delaware limited partnership and the general partner of the Partnership (the “General Partner”), as amended to date, (v) the First Amended and Restated Limited Liability Company Agreement of Holly Logistic Services, L.L.C., a Delaware limited liability company and the general partner of the General Partner (the “Ultimate General Partner”), (vi) certain resolutions adopted by the Board of Directors of the Ultimate General Partner relating to the Registration Statement, and (vii) such other certificates, statutes, documents and records as we have deemed necessary and relevant for the purpose of rendering the opinions set forth below. In addition, we have reviewed such questions of law as we considered necessary or appropriate. As to matters of fact relevant to the opinions expressed below, and as to factual matters arising in connection with our review of partnership and limited liability company documents, records and other documents and writings, we have relied upon certificates and other communications from officers and employees of the Ultimate General Partner, without further investigation as to the facts set forth therein.
| | |
Vinson & Elkins LLP Attorneys at Law Austin Dallas Dubai Houston London Los Angeles New York Richmond Riyadh San Francisco Tokyo Washington | | Trammell Crow Center, 2001 Ross Avenue, Suite 3900 Dallas, TX 75201-2975 Tel +1.214.220.7700 Fax +1.214.220.7716 velaw.com |