ShadowBuys

SEC EDGAR · Amended filing

RLI: amended insider filing

An amended ownership report was filed. Read the original and amendment before comparing transactions.

Follow RLI
Became public
Nov 9, 2026, 4:15 PM EST
Event / period date
Nov 2, 2026
Collected
Nov 9, 2026, 4:16 PM EST

Why this is connected

This filing identifies RLI CORP as the issuer of the security. The company's SEC identifier connects it to RLI.

Reported transactions

Kliethermes Craig W (CHIEF EXECUTIVE OFFICER)

Code P covers open-market and private purchases. Grants, option exercises, and tax withholding are excluded from purchase results. Read the source footnotes for ownership and pricing details.

Source evidence

Read the source excerpt or record
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0609</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2026-11-02</periodOfReport>

    <dateOfOriginalSubmission>2026-11-03</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0000084246</issuerCik>
        <issuerName>RLI CORP</issuerName>
        <issuerTradingSymbol>RLI</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001388737</rptOwnerCik>
            <rptOwnerName>Kliethermes Craig W</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>9025 N. LINDBERGH DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PEORIA</rptOwnerCity>
            <rptOwnerState>IL</rptOwnerState>
            <rptOwnerZipCode>61615</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>CHIEF EXECUTIVE OFFICER</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Stock Option</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>67.24</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-11-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>22500</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2027-11-02</value>
            </exerciseDate>
            <expirationDate>
                <value>2034-11-02</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>22500</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>22500</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Due to administrative error, the stock options granted on 11/02/2026 were reported incorrectly and an amendment is being filed to disclose the corrected amount.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Craig W. Kliethermes</signatureName>
        <signatureDate>2026-11-09</signatureDate>
    </ownerSignature>
</ownershipDocument>

Congressional trading in RLI

These disclosures provide context. Their presence does not establish a link between a trader and the event.

Original documents control. Public records can be amended, and company connections may require interpretation. Nothing here is investment advice.