EX-5.2 9 d17085dex52.htm EX-5.2 EX-5.2

Exhibit 5.2

 

   LOGO   

110 North Elgin Avenue, Suite 200

Tulsa, Oklahoma 74120-1490

Telephone (918) 595-4800

Fax (918) 595-4990

www.gablelaw.com

  

BOK Park Plaza

499 West Sheridan Avenue, Suite 2200

Oklahoma City, OK 73102

Telephone (405) 235-5500

Fax (405) 235-2875

  

1100 Louisiana, Suite 5000

Houston, Texas 77002

Telephone: (346) 200-6020

August 12, 2025

ONEOK, Inc.

100 West Fifth Street

Tulsa, OK 74103

Ladies and Gentlemen:

We have acted as special Oklahoma counsel to ONEOK, Inc., an Oklahoma corporation (the “Company”), in connection with the Company’s issuance and sale of $750,000,000 aggregate principal amount of the Company’s 4.950% Notes due 2032, $1,000,000,000 aggregate principal amount of its 5.400% Notes due 2035, and $1,250,000,000 aggregate principal amount of its 6.250% Notes due 2055 (collectively, the “Notes”). The Notes will be fully and unconditionally guaranteed as to payment of principal, premium, if any, and interest (collectively the “Guarantees” and, together with the Notes, the “Securities”) by ONEOK Partners, L.P., a Delaware limited partnership (“ONEOK Partners”), ONEOK Partners Intermediate Limited Partnership, a Delaware limited partnership (the “Intermediate Partnership”), Magellan Midstream Partners, L.P., a Delaware limited partnership (“Magellan”), Elk Merger Sub II, L.L.C., a Delaware limited liability company (“Elk”), EnLink Midstream Partners, LP, a Delaware limited partnership (“EnLink” and, collectively with ONEOK Partners, the Intermediate Partnership, Magellan, and Elk, the “Guarantors” and each individually, a “Guarantor”).

The Securities are being issued under an Indenture, dated as of January 26, 2012, as amended and supplemented before August 12, 2025 (as so amended and supplemented, the “Base Indenture”), by and between the Company and U.S. Bank Trust Company, National Association (successor in interest to U.S. Bank National Association), as trustee (the “Trustee”), as further amended and supplemented by the Thirty-Third Supplemental Indenture, the Thirty-Fourth Supplemental Indenture, and the Thirty-Fifth Supplemental Indenture (collectively, the “Supplemental Indentures”), each dated as of the Closing Date and each among the Issuers and the Trustee (the Base Indenture, as amended and supplemented by the Supplemental Indentures, the “Indenture”).

In rendering the opinions set forth herein, we have examined and relied on originals or electronic or other reproduction copies of the Indenture and the Notes. We have also examined originals or copies of such records of the Company and such agreements, certificates of public officials, certificates of officers or other representatives of the Company and others, and such other documents, certificates and records, as we have deemed necessary or appropriate as a basis for the


LOGO   

ONEOK, Inc.

August 12, 2025

Page 2

 

opinions set forth herein. In our examination, we have assumed the legal capacity of all natural persons, the genuineness of all signatures, the authenticity of all documents submitted to us as originals, and the conformity to authentic original documents of all documents submitted to us as certified electronic or reproduction copies. As to any facts material to the opinions and statements expressed herein that we did not independently establish or verify, we have relied, to the extent we deem appropriate, upon (i) oral or written statements and representations of officers and other representatives of the Company and (ii) statements and certifications of public officials and others.

Based upon the foregoing and subject to the limitations, qualifications, exceptions and assumptions set forth herein, we are of the opinion that:

1. The Company has the corporate power and authority to execute and deliver the Notes and perform its obligations thereunder.

2. The Notes have been duly authorized by the Company.

Our opinions expressed herein are subject to the following qualifications:

(i) Our opinions are limited to the laws of the State of Oklahoma, and we do not express any opinion as to the laws of any other jurisdiction, including without limitation the federal laws of the United States.

(ii) The opinions herein are limited to the matters expressly set forth in this letter, and no opinions are implied or may be inferred beyond the matters expressly so stated.

(iii) The opinions expressed herein are as of the date hereof only and are based on laws, orders, contract terms and provisions, and facts as of such date, and we disclaim any obligation to update this opinion letter after such date or to advise you of changes of facts stated or assumed herein or any subsequent changes in law.

We consent to the filing of this opinion as an exhibit to a Current Report on Form 8-K to be incorporated by reference into the Registration Statement. In giving this consent, we do not admit that we are included in the category of persons whose consent is required under Section 7 of the Securities Act of 1933, as amended, or the rules and regulations of the Securities and Exchange Commission issued thereunder. This opinion letter may be relied upon by Latham & Watkins LLP, as if it were addressed to it, for the sole purpose of rendering its opinions in connection with the offer and sale of the Securities.

 

Yours very truly,
/s/ GableGotwals