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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2024-01-25</periodOfReport>

    <dateOfOriginalSubmission>2024-01-29</dateOfOriginalSubmission>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000350852</issuerCik>
        <issuerName>COMMUNITY TRUST BANCORP INC /KY/</issuerName>
        <issuerTradingSymbol>CTBI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002007193</rptOwnerCik>
            <rptOwnerName>Smith Mark Edward</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>346 NORTH MAYO TRAIL</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PIKEVILLE</rptOwnerCity>
            <rptOwnerState>KY</rptOwnerState>
            <rptOwnerZipCode>41501</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Executive Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6261.8157</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <remarks>On 01/29/24 the reporting person filed a form 4 which inadvertently reported the vesting of 81, 17 &amp; 35 restricted stock shares as purchases. Vesting shares should not have a separate line item. An amended form 4 was filed on 03/11/24 to add back 26 shares that had been mistakenly removed in 2017 &amp; 2018. The mistake was realized on 03/08/24. An instruction letter was sent to Broadridge requesting correction. When the amended form 4 was done on 031124, the line-item total was reported incorrectly. The amended form 4 will be filed w/ a line item of 6,261.8157 (456 restricted, 805.8157 regular &amp; 5,000 retention restricted stock).</remarks>

    <ownerSignature>
        <signatureName>Mark E. Smith By: Cynthia L Adkins, Attorney-in-Fact</signatureName>
        <signatureDate>2024-08-22</signatureDate>
    </ownerSignature>
</ownershipDocument>
