<?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>0000728399</rptOwnerCik>
            <rptOwnerName>OXY USA INC</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>0001785615</rptOwnerCik>
            <rptOwnerName>OXY Oil Partners, Inc.</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>0001785593</rptOwnerCik>
            <rptOwnerName>Baseball Merger Sub 2, Inc.</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>0000773910</rptOwnerCik>
            <rptOwnerName>ANADARKO PETROLEUM 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>0001570992</rptOwnerCik>
            <rptOwnerName>ANADARKO HOLDING Co</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 WGRI, Anadarko USH1, KMG, APCMH, and KMWW are concurrently filing a Form 4 to report the transaction disclosed herein.</remarks>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of OXY USA Inc.</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of OXY Oil Partners, Inc.</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Nicole E. Clark of Baseball Merger Sub 2, Inc.</signatureName>
        <signatureDate>2026-02-05</signatureDate>
    </ownerSignature>

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

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

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