<SUBMISSION>
<ACCESSION-NUMBER>0001013762-23-003111
<TYPE>S-8 POS
<PUBLIC-DOCUMENT-COUNT>1
<FILING-DATE>20231011
<DATE-OF-FILING-DATE-CHANGE>20231011
<EFFECTIVENESS-DATE>20231011
<FILER>
<COMPANY-DATA>
<CONFORMED-NAME>Magellan Midstream Partners, L.P.
<CIK>0001126975
<ASSIGNED-SIC>4610
<IRS-NUMBER>731599053
<STATE-OF-INCORPORATION>DE
<FISCAL-YEAR-END>1231
</COMPANY-DATA>
<FILING-VALUES>
<FORM-TYPE>S-8 POS
<ACT>33
<FILE-NUMBER>333-71670
<FILM-NUMBER>231320475
</FILING-VALUES>
<BUSINESS-ADDRESS>
<STREET1>ONE WILLIAMS CENTER, MD 28-1
<CITY>TULSA
<STATE>OK
<ZIP>74172
<PHONE>918 574 7000
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>ONE WILLIAMS CENTER, MD 28-1
<CITY>TULSA
<STATE>OK
<ZIP>74172
</MAIL-ADDRESS>
<FORMER-COMPANY>
<FORMER-CONFORMED-NAME>MAGELLAN MIDSTREAM PARTNERS, L.P.
<DATE-CHANGED>20190718
</FORMER-COMPANY>
<FORMER-COMPANY>
<FORMER-CONFORMED-NAME>MAGELLAN MIDSTREAM PARTNERS LP
<DATE-CHANGED>20030827
</FORMER-COMPANY>
<FORMER-COMPANY>
<FORMER-CONFORMED-NAME>WILLIAMS ENERGY PARTNERS L P
<DATE-CHANGED>20001024
</FORMER-COMPANY>
</FILER>
<DOCUMENT>
<TYPE>S-8 POS
<SEQUENCE>1
<FILENAME>ea186355-s8pos_magellanmids.htm
<DESCRIPTION>POST-EFFECTIVE AMENDMENT TO FORM S-8
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY STYLE="font: 7pt Times New Roman, Times, Serif">

<P STYLE="margin: 0"></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>As filed with the Securities
and Exchange Commission on October 11, 2023.</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"><B>Registration No. 333-71670</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"><B>Registration No. 333-147206</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"><B>Registration No. 333-176062</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"><B>Registration&nbsp;No.&nbsp;333-255623</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"><B>Registration&nbsp;No.&nbsp;333-212836</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin-top: 0pt; margin-bottom: 0pt; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 2pt solid; border-bottom: Black 1pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: right; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>



<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>UNITED STATES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>SECURITIES AND EXCHANGE
COMMISSION</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Washington, D.C. 20549</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin: 0pt auto; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1.5pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 7pt Times New Roman, Times, Serif; text-align: center; margin-top: 0pt; margin-bottom: 0pt; background-color: white">&nbsp;</P>



<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>POST-EFFECTIVE AMENDMENT
NO. 2 TO&nbsp;FORM&nbsp;S-8&nbsp;REGISTRATION&nbsp;STATEMENT&nbsp;NO.&nbsp;333-71670</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>POST-EFFECTIVE AMENDMENT
NO. 1 TO&nbsp;FORM&nbsp;S-8&nbsp;REGISTRATION&nbsp;STATEMENT&nbsp;NO.&nbsp;333-147206</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>POST-EFFECTIVE AMENDMENT
NO. 1 TO&nbsp;FORM&nbsp;S-8&nbsp;REGISTRATION&nbsp;STATEMENT&nbsp;NO.&nbsp;333-176062</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>POST-EFFECTIVE AMENDMENT
NO. 1 TO&nbsp;FORM&nbsp;S-8&nbsp;REGISTRATION&nbsp;STATEMENT&nbsp;NO.&nbsp;333-255623</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>POST-EFFECTIVE AMENDMENT
NO. 1 TO&nbsp;FORM&nbsp;S-8&nbsp;REGISTRATION&nbsp;STATEMENT&nbsp;NO.&nbsp;333-212836</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B><I>UNDER</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B><I>THE SECURITIES ACT
OF 1933</I></B></P>

<P STYLE="text-align: center; font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin: 0pt auto; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1.5pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="text-align: center; font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; background-color: white">&nbsp;</P>



<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>MAGELLAN MIDSTREAM
PARTNERS, L.P.</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>(Exact name of registrant
as specified in its charter)</B></P>

<P STYLE="text-align: center; font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>



<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin: 0pt auto; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1.5pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"></P>

<P STYLE="text-align: center; margin-top: 0; margin-bottom: 0">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
  <TR>
    <TD STYLE="vertical-align: top; font-size: 10pt; text-align: center; width: 49%"><FONT STYLE="font-size: 10pt"><B>Delaware</B></FONT></TD>
    <TD STYLE="vertical-align: bottom; font-size: 10pt; width: 2%">&nbsp;</TD>
    <TD STYLE="vertical-align: top; font-size: 10pt; text-align: center; width: 49%"><FONT STYLE="font-size: 10pt"><B>73-1599053</B></FONT></TD></TR>
  <TR>
    <TD STYLE="vertical-align: top">
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(State or other jurisdiction</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>of incorporation or organization)&nbsp;</B></P></TD>
    <TD STYLE="vertical-align: bottom; font-size: 10pt">&nbsp;</TD>
    <TD STYLE="vertical-align: top">
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(I.R.S. Employer</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Identification No.)</B></P></TD></TR>
  </TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt"><B>&nbsp;</B></FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Magellan Midstream
Partners Long-Term Incentive Plan</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>(Full titles of the
plan)</B></P>

<P STYLE="font: 7pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>One Williams Center</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Tulsa, Oklahoma 74172</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>(918)&nbsp;574-7000&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>(Address, including
zip code, and telephone number, including area code, of registrant&rsquo;s principal executive offices)</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Walter S. Hulse III</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Chief Financial Officer,
Treasurer and Executive Vice President, </B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Investor Relations
and Corporate Development</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Magellan GP, LLC</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>100 West Fifth Street</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>Tulsa, Oklahoma 74173</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>(918) 588-7000</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>(Name, address, including
zip code, and telephone number, including area code, of agent for service)</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>



<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin: 0pt auto; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1.5pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt"><B><I>&nbsp;</I></B></FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B><I>Copies to:</I></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
  <TR STYLE="vertical-align: top">
    <TD STYLE="width: 49%">
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Julian Seiguer, P.C.&nbsp;<BR>
    Anne G.&nbsp;Peetz</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Kirkland&nbsp;&amp; Ellis LLP</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>609 Main Street</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Houston, TX 77002</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(713) 836-3600</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>&nbsp;</B></P></TD>
    <TD STYLE="width: 2%; text-align: center; font-size: 10pt">&nbsp;</TD>
    <TD STYLE="width: 49%">
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Patrick W. Cipolla</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>ONEOK, Inc.</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Vice President, Associate General</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Counsel &ndash; Compliance &amp; Ethics</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>and Corporate Secretary</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>100 West Fifth Street</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Tulsa, Oklahoma 74103</B></P>
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(918)&nbsp;588-7000)&nbsp;</B></P></TD></TR>
  </TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt"></FONT></P>

<!-- Field: Rule-Page --><DIV STYLE="margin-top: 0pt; margin-bottom: 0pt; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1.5pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 7pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt"></FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>



<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">Indicate by check mark whether the registrant
is a large accelerated filer, an accelerated filer,&nbsp;a&nbsp;non-accelerated&nbsp;filer,&nbsp;a smaller reporting company or an emerging
growth company. See the definitions of &ldquo;large accelerated filer,&rdquo; &ldquo;accelerated filer,&rdquo; &ldquo;smaller reporting
company,&rdquo; and &ldquo;emerging growth company&rdquo; in&nbsp;Rule&nbsp;12b-2&nbsp;of&nbsp;the Exchange Act.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
  <TR STYLE="vertical-align: bottom">
    <TD STYLE="font-size: 10pt; width: 16%"><FONT STYLE="font-size: 10pt">Large&nbsp;accelerated&nbsp;filer</FONT></TD>
    <TD STYLE="font-size: 10pt; width: 2%">&nbsp;</TD>
    <TD STYLE="font-size: 10pt; width: 53%"><FONT STYLE="font-family: Times New Roman, Times, Serif; font-size: 10pt">&#9746;</FONT></TD>
    <TD STYLE="font-size: 10pt; width: 1%">&nbsp;</TD>
    <TD STYLE="font-size: 10pt; width: 23%"><FONT STYLE="font-size: 10pt">Accelerated&nbsp;filer</FONT></TD>
    <TD STYLE="font-size: 10pt; width: 2%">&nbsp;</TD>
    <TD STYLE="font-size: 10pt; width: 3%"><FONT STYLE="font-family: Times New Roman, Times, Serif; font-size: 10pt">&#9744;</FONT></TD></TR>
  <TR STYLE="vertical-align: bottom">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD></TR>
  <TR STYLE="vertical-align: bottom">
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Non-accelerated filer</FONT></TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-family: Times New Roman, Times, Serif; font-size: 10pt">&#9744;</FONT></TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Smaller&nbsp;reporting&nbsp;company</FONT></TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-family: Times New Roman, Times, Serif; font-size: 10pt">&#9744;</FONT></TD></TR>
  <TR STYLE="vertical-align: bottom">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD></TR>
  <TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Emerging&nbsp;growth&nbsp;company</FONT></TD>
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-family: Times New Roman, Times, Serif; font-size: 10pt">&#9744;</FONT></TD></TR>
  </TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">If an emerging growth company, indicate by
check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial accounting
standards provided pursuant to Section&nbsp;7(a)(2)(B) of the Securities Act.&nbsp;&nbsp;<FONT STYLE="font-family: Times New Roman, Times, Serif">&#9744;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin-top: 0pt; margin-bottom: 0pt; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1pt solid; border-bottom: Black 2pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"><FONT STYLE="font-size: 7pt">&nbsp;</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white"></P>

<!-- Field: Page; Sequence: 1 -->
    <DIV STYLE="margin-top: 12pt; margin-bottom: 6pt; border-bottom: Black 1.5pt solid"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <DIV STYLE="break-before: page; margin-top: 6pt; margin-bottom: 12pt"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>EXPLANATORY NOTE</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B>DEREGISTRATION OF UNSOLD
SECURITIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in; background-color: white">Magellan Midstream Partners,
L.P., a Delaware limited partnership (&ldquo;Magellan&rdquo;), is filing these post-effective amendments (these &ldquo;Post-Effective
Amendments&rdquo;) to the following Registration Statements&nbsp;on&nbsp;Form&nbsp;S-8 (each, a &ldquo;Registration Statement&rdquo; and
collectively, the &ldquo;Registration&nbsp;Statements&rdquo;), which were filed by Magellan with the Securities and Exchange Commission
(the &ldquo;SEC&rdquo;) on the dates set forth below, to deregister any and all common units representing limited partner interests in
Magellan (&ldquo;Common&nbsp;Units&rdquo;), registered but unissued under each such Registration Statement as of the date hereof:</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; width: 100%"><TR STYLE="vertical-align: top; text-align: justify">
<TD STYLE="width: 0.5in"></TD><TD STYLE="width: 0.25in; text-align: left"><FONT STYLE="font-size: 10pt">1.</FONT></TD><TD STYLE="text-align: left"><FONT STYLE="font-size: 10pt">Registration Statement on&nbsp;<A HREF="http://www.sec.gov/Archives/edgar/data/1126975/000095013401507323/d91339s-8.txt">Form&nbsp;S-8</A>&nbsp;(No.&nbsp;333-71670),&nbsp;which&nbsp;was
filed by Magellan with the SEC on October 16,
2001, as amended, registering 2,800,000 Common Units <FONT STYLE="background-color: white">(after giving effect to two&nbsp;two-for-one&nbsp;splits
of Common Units occurring on April&nbsp;12, 2005 and on October&nbsp;12, 2012, respectively) </FONT>under the Magellan Midstream Partners
Long-Term Incentive Plan, as amended;</FONT></TD>
</TR></TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; width: 100%"><TR STYLE="vertical-align: top; text-align: justify">
<TD STYLE="width: 0.5in"></TD><TD STYLE="width: 0.25in; text-align: left"><FONT STYLE="font-size: 10pt">2.</FONT></TD><TD STYLE="text-align: left"><FONT STYLE="font-size: 10pt">Registration Statement on&nbsp;<A HREF="http://www.sec.gov/Archives/edgar/data/1126975/000119312507238335/ds8.htm">Form&nbsp;S-8</A>&nbsp;(No.&nbsp;333-147206),&nbsp;which&nbsp;was
filed by Magellan with the SEC on November 7, 2007,
registering 3,600,000 Common Units <FONT STYLE="background-color: white">(after giving effect to the&nbsp;two-for-one&nbsp;split of Common
Units occurring on October&nbsp;12, 2012)&nbsp;</FONT>under the Magellan Midstream Partners Long-Term Incentive Plan, as amended;</FONT></TD>
</TR></TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; width: 100%"><TR STYLE="vertical-align: top; text-align: justify">
<TD STYLE="width: 0.5in"></TD><TD STYLE="width: 0.25in; text-align: left"><FONT STYLE="font-size: 10pt">3.</FONT></TD><TD STYLE="text-align: left"><FONT STYLE="font-size: 10pt">Registration Statement on&nbsp;<A HREF="http://www.sec.gov/Archives/edgar/data/1126975/000119312511210570/ds8.htm">Form&nbsp;S-8</A>&nbsp;(No.&nbsp;333-176062),&nbsp;which&nbsp;was
filed by Magellan with the SEC on August 4, 2011,
registering 3,000,000 Common Units <FONT STYLE="background-color: white">(after giving effect to the&nbsp;two-for-one&nbsp;split of Common
Units occurring on October&nbsp;12, 2012)</FONT> under the Magellan Midstream Partners Long-Term Incentive Plan, as amended;</FONT></TD>
</TR></TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; width: 100%"><TR STYLE="vertical-align: top; text-align: justify">
<TD STYLE="width: 0.5in"></TD><TD STYLE="width: 0.25in; text-align: left"><FONT STYLE="font-size: 10pt">4.</FONT></TD><TD STYLE="text-align: left"><FONT STYLE="font-size: 10pt">Registration Statement on&nbsp;<A HREF="http://www.sec.gov/Archives/edgar/data/1126975/000119312516668200/d201665ds8.htm">Form&nbsp;S-8</A>&nbsp;(No.&nbsp;333-212836),&nbsp;which&nbsp;was
filed by Magellan with the SEC on August 2, 2016, registering 2,500,000 Common Units under the Magellan Midstream Partners Long-Term
Incentive Plan, as amended; and</FONT></TD>
</TR></TABLE>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; text-align: justify"><FONT STYLE="font-size: 10pt">&nbsp;</FONT></P>

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; width: 100%"><TR STYLE="vertical-align: top; text-align: justify">
<TD STYLE="width: 0.5in"></TD><TD STYLE="width: 0.25in; text-align: left"><FONT STYLE="font-size: 10pt">5.</FONT></TD><TD STYLE="text-align: left"><FONT STYLE="font-size: 10pt">Registration Statement on&nbsp;<A HREF="http://www.sec.gov/Archives/edgar/data/1126975/000119312521140804/d151242ds8.htm">Form&nbsp;S-8</A>&nbsp;(No.&nbsp;333-255623),&nbsp;which&nbsp;was
filed by Magellan with the SEC on April 29, 2021, registering 1,800,000 Common Units under the Magellan Midstream Partners Long-Term
Incentive Plan, as amended.</FONT></TD>
</TR></TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in; background-color: white">On September&nbsp;25,
2023, pursuant to the transactions contemplated by the Agreement and Plan of Merger, dated as of May 14, 2023 (the &ldquo;Merger Agreement&rdquo;),
by and among&nbsp;ONEOK, Inc., an Oklahoma corporation (&ldquo;ONEOK&rdquo;), Otter Merger Sub, LLC (&ldquo;Merger Sub&rdquo;), a Delaware
limited liability company and wholly owned, direct, subsidiary of ONEOK, and Magellan, Merger Sub merged with and into Magellan, as a
result of which Magellan became a wholly owned, direct, subsidiary of ONEOK.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 24.5pt; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in; background-color: white">As a result of the completion
of the transactions contemplated by the Merger Agreement, Magellan has terminated all offerings of Common Units pursuant to the Registration
Statements. In accordance with the undertakings made by Magellan in the Registration Statements to remove from registration, by means
of a post-effective amendment, any of the securities that had been registered for issuance that remain unsold at the termination of such
offerings, Magellan hereby removes from registration by means of these Post-Effective Amendments all Common Units registered but unsold
under the Registration Statements as of the date hereof. The Registration Statements are hereby amended, as appropriate, to reflect the
deregistration of such Common Units and Magellan hereby terminates the effectiveness of the Registration Statements.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>


<!-- Field: Page; Sequence: 2; Options: NewSection; Value: 1 -->
    <DIV STYLE="margin-top: 12pt; margin-bottom: 6pt; border-bottom: Black 1.5pt solid"><P STYLE="font: 10pt Times New Roman, Times, Serif; text-align: center; margin-top: 0pt; margin-bottom: 0pt"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->1<!-- Field: /Sequence --></P></DIV>
    <DIV STYLE="break-before: page; margin-top: 6pt; margin-bottom: 12pt"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>&nbsp;&nbsp;</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white"><B><U>SIGNATURES</U></B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in; background-color: white">Pursuant to the requirements
of the Securities Act of 1933, as amended, the registrant certifies that it has reasonable grounds to believe that it meets all of the
requirements for filing on&nbsp;Form&nbsp;S-8&nbsp;and&nbsp;has duly caused these Post-Effective Amendments to the Registration Statements
on&nbsp;Form&nbsp;S-8&nbsp;to&nbsp;be signed on its behalf by the undersigned, thereunto duly authorized, in the City of Tulsa, State
of Oklahoma, on October 11, 2023.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; background-color: white; border-collapse: collapse">
  <TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD COLSPAN="2">
    <P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>MAGELLAN MIDSTREAM PARTNERS, L.P.&nbsp;</B></P></TD></TR>
  <TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD></TR>
  <TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">By:</FONT></TD>
    <TD STYLE="font-size: 10pt"> <FONT STYLE="font-size: 10pt">Magellan GP, LLC, its general partner</FONT></TD></TR>
  <TR STYLE="vertical-align: top">
    <TD STYLE="width: 60%; font-size: 10pt">&nbsp;</TD>
    <TD STYLE="width: 5%; font-size: 10pt">&nbsp;</TD>
    <TD STYLE="width: 35%; font-size: 10pt">&nbsp;</TD></TR>
  <TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">By:</FONT></TD>
    <TD STYLE="border-bottom: black 1.5pt solid; font-size: 10pt"><FONT STYLE="font-size: 10pt">/s/ Walter S. Hulse III</FONT></TD></TR>
  <TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Name:&nbsp;&#8239;</FONT></TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Walter S. Hulse III</FONT></TD></TR>
  <TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 10pt">&nbsp;</TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Title:</FONT></TD>
    <TD STYLE="font-size: 10pt"><FONT STYLE="font-size: 10pt">Chief Financial Officer, Treasurer and Executive Vice President, Investor Relations and Corporate Development</FONT></TD></TR>
  </TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0.5in; background-color: white">Note: No other person
is required to sign these Post-Effective Amendments to&nbsp;Form&nbsp;S-8&nbsp;Registration&nbsp;Statements in reliance on Rule 478 under
the Securities Act of 1933, as amended.</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 24.5pt; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 24.5pt; background-color: white">&nbsp;</P>

<P STYLE="text-align: center; font: 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; background-color: white">2</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 24.5pt; background-color: white"></P>

<!-- Field: Rule-Page --><DIV STYLE="margin-top: 0pt; margin-bottom: 0pt; width: 100%"><DIV STYLE="font-size: 1pt; border-top: Black 1.5pt solid">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 24.5pt; background-color: white">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<P STYLE="margin: 0">&nbsp;</P>

<P STYLE="margin: 0">&nbsp;</P>

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
</SUBMISSION>
