<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-02-03</periodOfReport>

    <issuer>
        <issuerCik>0001423902</issuerCik>
        <issuerName>Western Midstream Partners, LP</issuerName>
        <issuerTradingSymbol>WES</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0000797468</rptOwnerCik>
            <rptOwnerName>OCCIDENTAL PETROLEUM CORP /DE/</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5 GREENWAY PLAZA</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 110</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77046</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0000856716</rptOwnerCik>
            <rptOwnerName>WESTERN GAS RESOURCES INC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1099 18TH STREET, SUITE 1200</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>DENVER</rptOwnerCity>
            <rptOwnerState>CO</rptOwnerState>
            <rptOwnerZipCode>80202-1955</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001601306</rptOwnerCik>
            <rptOwnerName>APC Midstream Holdings, LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5 GREENWAY PLAZA</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 110</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77046</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001699285</rptOwnerCik>
            <rptOwnerName>Kerr-McGee Worldwide Corp</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5 GREENWAY PLAZA</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 110</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77046</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001824936</rptOwnerCik>
            <rptOwnerName>Anadarko USH1 Corp</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5 GREENWAY PLAZA</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 110</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77046</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001141185</rptOwnerCik>
            <rptOwnerName>KERR MCGEE CORP /DE</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5 GREENWAY PLAZA</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 110</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77046</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>COMMON UNITS (LIMITED PARTNER INTERESTS)</value>
            </securityTitle>
            <transactionDate>
                <value>2026-02-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>15307402</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>150374176</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">On January 16, 2026, Western Gas Resources, Inc. (&quot;WGRI&quot;) entered into a Unit Redemption Agreement with the Issuer and the other parties thereto, pursuant to which WGRI transferred and surrendered on February 3, 2026 an aggregate of 15,307,402 common units representing limited partner interests in the Issuer (the &quot;Common Units&quot;) to the Issuer in connection with certain amendments to existing operating agreements, as described in the Unit Redemption Agreement.</footnote>
        <footnote id="F2">Following the transaction reported herein, WGRI holds 140,912,118 Common Units, APC Midstream Holdings, LLC (&quot;APCMH&quot;) holds 457,849 Common Units and Anadarko USH1 Corporation (&quot;AUSHI&quot;) holds 9,004,209 Common Units. WGRI also is the sole member of Western Midstream Holdings, LLC, the 2% economic general partner of the Issuer.</footnote>
        <footnote id="F3">OXY USA Inc. (&quot;OXY USA&quot;) is a wholly owned subsidiary of Occidental Petroleum Corporation (&quot;Occidental&quot;). OXY USA owns 100% of the outstanding common stock of OXY Oil Partners, Inc. (&quot;OOP&quot;). OOP owns 100% of the outstanding common stock of Baseball Merger Sub 2, Inc. (&quot;BMS&quot;).</footnote>
        <footnote id="F4">Anadarko Petroleum Corporation (&quot;APC&quot;) is a wholly owned subsidiary of BMS. APC owns (i) 100% of Anadarko Holding Company (&quot;AHC&quot;) and (ii) indirectly, 100% of the common stock of WGRI and Kerr-McGee Corporation (&quot;KMG&quot;). WGRI is the sole member of APCMH. KMG and AHC together own 100% of the common stock of Kerr-McGee Worldwide Corporation (&quot;KMWW&quot;), and APC and KMWW together indirectly own 100% of the common stock of AUSH1. Accordingly, OXY USA, OOP, BMS, APC, AHC, WGRI, AUSH1, KMG, APCMH and KMWW are all direct or indirect wholly owned subsidiaries of Occidental.</footnote>
    </footnotes>

    <remarks>Due to the limitations of the U.S. Securities and Exchange Commission's electronic filing system, each of Occidental, OXY USA, OOP, BMS, APC and AHC are concurrently filing a Form 4 to report the transaction disclosed herein.</remarks>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of Western Gas Resources, Inc.</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of APC Midstream Holdings, LLC</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of Kerr-McGee Worldwide Corporation</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of Anadarko USH1 Corporation</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of Kerr-McGee Corporation</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
