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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2019-08-07</periodOfReport>

    <issuer>
        <issuerCik>0000792977</issuerCik>
        <issuerName>AMAG PHARMACEUTICALS, INC.</issuerName>
        <issuerTradingSymbol>AMAG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001444043</rptOwnerCik>
            <rptOwnerName>Camber Capital Management LP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>101 HUNTINGTON AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 2101</rptOwnerStreet2>
            <rptOwnerCity>BOSTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02199</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isTenPercentOwner>true</isTenPercentOwner>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-08-07</value>
            </transactionDate>
            <deemedExecutionDate>
                <value>2019-08-07</value>
            </deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>301000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.7857</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4306000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-08-07</value>
            </transactionDate>
            <deemedExecutionDate>
                <value>2019-08-07</value>
            </deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>50000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.74</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4356000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-08-07</value>
            </transactionDate>
            <deemedExecutionDate>
                <value>2019-08-07</value>
            </deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>4000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.575</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4360000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-08-09</value>
            </transactionDate>
            <deemedExecutionDate>
                <value>2019-08-09</value>
            </deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>26600</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>8.9395</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4386600</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F5"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-08-09</value>
            </transactionDate>
            <deemedExecutionDate>
                <value>2019-08-09</value>
            </deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3400</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>9.1781</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4390000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnotes</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F6"/>
                    <footnoteId id="F7"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Securities reported herein for Camber Capital Management LP (the &quot;LP&quot; ) represent Common Stock beneficially owned and held of record by Camber Capital Master Fund, L.P. (the &quot;Master Fund&quot;) and another private investment fund (the &quot;Fund&quot;)  for which the LP serves as the investment manager. Stephen DuBois is the managing member of the LP and managing member of the general partner for the Fund and the Master Fund. The LP, the Master Fund, the Fund, the general partner and Mr. DuBois (the &quot;Reporting Persons&quot;) are each beneficial owners and have an address of 101 Huntington Avenue, Floor 21, Boston, MA 02199. The Reporting Persons disclaim beneficial ownership, within the meaning of Section 16 of the Securities Exchange Act of 1934, as amended, or otherwise of such portion of the shares in which the Reporting Persons have no actual pecuniary interest therein.</footnote>
        <footnote id="F2">Of the securities reported for this transaction, 299,074 shares of Common Stock were purchased for the account of the Master Fund and 1,926 shares of Common Stock were purchased for the account of the Fund</footnote>
        <footnote id="F3">Of the securities reported for this transaction, 49,680 shares of Common Stock were purchased for the account of the Master Fund and 320 shares of Common Stock were purchased for the account of the Fund</footnote>
        <footnote id="F4">Of the securities reported for this transaction, 3,974 shares of Common Stock were purchased for the account of the Master Fund and 26 shares of Common Stock were purchased for the account of the Fund</footnote>
        <footnote id="F5">Of the securities reported for this transaction, 26,430 shares of Common Stock were purchased for the account of the Master Fund and 170 shares of Common Stock were purchased for the account of the Fund</footnote>
        <footnote id="F6">Of the securities reported for this transaction, 3,378 shares of Common Stock were purchased for the account of the Master Fund and 22 shares of Common Stock were purchased for the account of the Fund</footnote>
        <footnote id="F7">As of the closing of trading on August 09, 2019, 4,361,316 shares of Common Stock were held for the account of the Master Fund and 28,684 shares of Common Stock were held for the account of the Fund.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Stephen DuBois</signatureName>
        <signatureDate>2019-08-09</signatureDate>
    </ownerSignature>
</ownershipDocument>
