<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="..\4_X02.xsl"?><ownershipDocument>    <schemaVersion>X0202</schemaVersion>    <documentType>4</documentType>    <periodOfReport>2006-02-27</periodOfReport>    <issuer>        <issuerCik>0001178670</issuerCik>        <issuerName>ALNYLAM PHARMACEUTICALS, INC.</issuerName>        <issuerTradingSymbol>ALNY</issuerTradingSymbol>    </issuer>    <reportingOwner>        <reportingOwnerId>            <rptOwnerCik>0001291895</rptOwnerCik>            <rptOwnerName>Barrett Peter</rptOwnerName>        </reportingOwnerId>        <reportingOwnerAddress>            <rptOwnerStreet1>C/O ATLAS VENTURE  SUITE 320</rptOwnerStreet1>            <rptOwnerStreet2>890 WINTER  STREET</rptOwnerStreet2>            <rptOwnerCity>WALTHAM</rptOwnerCity>            <rptOwnerState>MA</rptOwnerState>            <rptOwnerZipCode>02451</rptOwnerZipCode>            <rptOwnerStateDescription></rptOwnerStateDescription>        </reportingOwnerAddress>        <reportingOwnerRelationship>            <isDirector>1</isDirector>            <isOfficer>0</isOfficer>            <isTenPercentOwner>0</isTenPercentOwner>            <isOther>0</isOther>        </reportingOwnerRelationship>    </reportingOwner>    <nonDerivativeTable>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>79047</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.7719</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>0</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F1"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-28</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>28947</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.9842</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>285962</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F1"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>19638</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.7719</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>0</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F2"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-28</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>7191</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.9842</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>71042</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F2"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>1316</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.7719</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>0</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F3"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-28</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>482</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.9842</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>4759</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F3"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>143497</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.7719</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>0</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F4"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-28</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>52548</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.9842</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>519126</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F4"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>3875</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.7719</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>0</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F5"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-28</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>1419</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.9842</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>14020</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F5"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-27</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>2627</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.7719</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>0</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F6"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2006-02-28</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>S</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>962</value>                </transactionShares>                <transactionPricePerShare>                    <value>15.9842</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>9506</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>I</value>                </directOrIndirectOwnership>                <natureOfOwnership>                    <value>See Footnote</value>                    <footnoteId id="F6"/>                </natureOfOwnership>            </ownershipNature>        </nonDerivativeTransaction>    </nonDerivativeTable>    <derivativeTable></derivativeTable>    <footnotes>        <footnote id="F1">Sale of shares of the Issuer's Common Stock by Atlas Venture Fund V, L.P. (&quot;Atlas V&quot;).  These shares are owned directly by Atlas V. Peter Barrett is a Senior Partner of Atlas Venture. Mr. Barrett disclaims beneficial ownership of such shares except to the extent of his pecuniary interest therein.</footnote>        <footnote id="F2">Sale of shares of the Issuer's Common Stock by Atlas Venture Parallel Fund V-A, C.V. (&quot;Atlas V-A&quot;).  These shares are owned directly by Atlas V-A. Peter Barrett is a Senior Partner of Atlas Venture. Mr. Barrett disclaims beneficial ownership of such shares except to the extent of his pecuniary interest therein.</footnote>        <footnote id="F3">Sale of shares of the Issuer's Common Stock by Atlas Venture Entrepreneurs' Fund V, L.P. (&quot;AVE V&quot;).  These shares are owned directly by AVE V. Peter Barrett is a Senior Partner of Atlas Venture. Mr. Barrett disclaims beneficial ownership of such shares except to the extent of his pecuniary interest therein.</footnote>        <footnote id="F4">Sale of shares of the Issuer's Common Stock by Atlas Venture Fund VI, L.P. (&quot;Atlas VI&quot;).  These shares are owned directly by Atlas VI. Peter Barrett is a Senior Partner of Atlas Venture. Mr. Barrett disclaims beneficial ownership of such shares except to the extent of his pecuniary interest therein.</footnote>        <footnote id="F5">Sale of shares of the Issuer's Common Stock by Atlas Venture Entrepreneurs' Fund VI, L.P.  (&quot;AVE VI&quot;).  These shares are owned directly by AVE VI. Peter Barrett is a Senior Partner of Atlas  Venture. Mr. Barrett disclaims beneficial ownership of such shares except to the extent of his pecuniary interest therein.</footnote>        <footnote id="F6">Sale of shares of the Issuer's Common Stock by Atlas Venture Fund VI GmbH &amp; Co. KG. (&quot;AV VI KG&quot;). These shares are owned directly by AV VI KG. Peter Barrett is a Senior Partner of Atlas Venture. Mr. Barrett disclaims beneficial ownership of such shares except to the extent of his pecuniary interest therein.</footnote>    </footnotes>    <ownerSignature>        <signatureName>/s/ Jeanne Larkin Henry - Attorney in Fact</signatureName>        <signatureDate>2006-03-01</signatureDate>    </ownerSignature></ownershipDocument>