Document:

EXECUTION VERSION
                                                                  EXHIBIT 10.5.3

                                    GUARANTY

      GUARANTY, dated as of August 31, 2005 (as amended from time to time, this
"Guaranty"), made by AMERICAN HOME MORTGAGE INVESTMENT CORP., a Maryland
corporation ("Guarantor"), in favor of GOLDMAN SACHS MORTGAGE COMPANY, a New
York limited partnership ("Buyer").

                                    RECITALS

      Reference is made to that certain Master Repurchase Agreement dated as of
August 31, 2005 (as amended from time to time, the "Repurchase Agreement"), by
and among American Home Mortgage Acceptance, Inc., a Maryland corporation, and
American Home Mortgage Corp., a New York corporation (each a "Seller", and
collectively "Sellers), and Buyer, pursuant to which Buyer agreed to enter into
transactions with Sellers upon the terms and subject to the conditions set forth
therein. It is a condition precedent to the obligation of Buyer to enter into
Transactions that Guarantor execute and deliver to Buyer this Guaranty.

      Now, therefore, in consideration of the premises and to induce Buyer to
enter into the Repurchase Agreement and engage in Transactions with Sellers, and
for other good and valuable consideration the receipt and sufficiency of which
is hereby acknowledged, Guarantor hereby agrees to guarantee Sellers'
obligations under the Repurchase Agreement, as may be amended from time to time.

      1. Defined Terms.

      (a) Unless otherwise defined herein, terms defined in the Repurchase
Agreement and used herein shall have the meanings given to them in the
Repurchase Agreement.

      (b) "Obligations" shall mean all obligations and liabilities of Sellers to
Buyer, whether direct or indirect, absolute or contingent, due or to become due,
or now existing or hereafter incurred, or whether for payment or for performance
(including, without limitation, Price Differential accruing after the Repurchase
Date for the Transactions and Price Differential accruing after the filing of
any petition in bankruptcy, or the commencement of any insolvency,
reorganization or like proceeding, relating to any Seller, whether or not a
claim for post filing or post petition interest is allowed in such proceeding),
which may arise under, or out of or in connection with the Facility Documents,
whether on account of Repurchase Price, Price Differential, reimbursement
obligations, fees, indemnities, costs, expenses (including, without limitation,
all fees and disbursements of counsel to Buyer that are required to be paid by
any Seller pursuant to the terms of such documents) or otherwise.

      (c) The words "hereof," "herein" and "hereunder" and words of similar
import when used in this Guaranty shall refer to this Guaranty as a whole and
not to any particular provision of this Guaranty, and section and paragraph
references are to this Guaranty unless otherwise specified.

      (d) The meanings given to terms defined herein shall be equally applicable
to both the singular and plural forms of such terms.

      2. Guaranty.

<PAGE>

      (a) Guarantor hereby, unconditionally and irrevocably, guarantees to Buyer
and its successors, indorsees, transferees and assigns, the prompt and complete
payment and performance by each Seller when due (whether at the stated maturity,
by acceleration or otherwise) of the Obligations.

      (b) Guarantor further agrees to pay any and all reasonable expenses
(including, without limitation, all reasonable fees and disbursements of
counsel) which may be paid or incurred by Buyer in enforcing, or obtaining
advice of counsel in respect of, any rights with respect to, or collecting, any
or all of the Obligations and/or enforcing any rights with respect to, or
collecting against, Guarantor under this Guaranty.

      (c) No payment or payments made by any Seller, Guarantor, any other
guarantor or any other Person or received or collected by Buyer from any Seller,
Guarantor, any other guarantor or any other Person by virtue of any action or
proceeding or any set-off or appropriation or application at any time or from
time to time in reduction of or in payment of the Obligations shall be deemed to
modify, reduce, release or otherwise affect the liability of Guarantor hereunder
which shall, notwithstanding any such payment or payments other than payments
made by Guarantor in respect of the Obligations or payments received or
collected from Guarantor in respect of the Obligations, remain liable for the
Obligations up to the maximum liability of Guarantor hereunder until the
Obligations are paid in full and the Repurchase Agreement is terminated.

      (d) Guarantor agrees that whenever, at any time, or from time to time, it
shall make any payment to Buyer on account of its liability hereunder, it will
notify Buyer in writing that such payment is made under this Guaranty for such
purpose.

      3. Right of Set-off. Upon the occurrence of any Event of Default,
Guarantor hereby irrevocably authorizes Buyer at any time and from time to time
without notice to Guarantor, any such notice being expressly waived by
Guarantor, to set-off and appropriate and apply any and all deposits (general or
special, time or demand, provisional or final), in any currency, and any other
credits, indebtedness or claims, in any currency, in each case whether direct or
indirect, absolute or contingent, matured or unmatured, at any time held or
owing by Buyer to or for the credit or the account of Guarantor, or any part
thereof in such amounts as Buyer may elect, against and on account of the
obligations and liabilities of Guarantor to Buyer hereunder and claims of every
nature and description of Buyer against Guarantor, in any currency, whether
arising hereunder, under the Repurchase Agreement, any promissory note, or
otherwise, as Buyer may elect, whether or not Buyer has made any demand for
payment and although such obligations, liabilities and claims may be contingent
or unmatured. Buyer shall notify Guarantor promptly of any such set-off and the
application made by Buyer, provided that the failure to give such notice shall
not affect the validity of such set-off and application. The rights of Buyer
under this Section are in addition to other rights and remedies (including,
without limitation, other rights of set-off) which Buyer may have.

      4. No Subrogation. Notwithstanding any payment or payments made by
Guarantor hereunder or any set-off or application of funds of Guarantor by
Buyer, Guarantor shall not be entitled to be subrogated to any of the rights of
Buyer against any Seller or any other guarantor or any collateral security or
guarantee or right of offset held by Buyer for the payment of the Obligations,
nor shall Guarantor seek or be entitled to seek any contribution or
reimbursement from any Seller or any other guarantor in respect of payments made
by Guarantor hereunder, until all amounts owing to Buyer by each Seller on
account of the Obligations are paid in full and the Repurchase Agreement is
terminated. Guarantor hereby subordinates all of its subrogation rights against
each Seller to the full payment of Obligations due Buyer under the Repurchase
Agreement for a period of 91 days following the final payment of the last of all
of the Obligations under the Facility Documents. If any amount shall be paid to
Guarantor on account of such subrogation rights at any time when all of the
Obligations shall not have

                                      -2-
<PAGE>

been paid in full, such amount shall be held by Guarantor in trust for Buyer,
segregated from other funds of Guarantor, and shall, forthwith upon receipt by
Guarantor, be turned over to Buyer in the exact form received by Guarantor (duly
indorsed by Guarantor to Buyer, if required), to be applied against the
Obligations, whether matured or unmatured, in such order as Buyer may determine.

      5. Amendments, Etc. with Respect to the Obligations; Waiver of Rights.
Guarantor shall remain obligated hereunder notwithstanding that, without any
reservation of rights against Guarantor and without notice to or further assent
by Guarantor, any demand for payment of any of the Obligations made by Buyer may
be rescinded by Buyer and any of the Obligations continued, and the Obligations,
or the liability of any other party upon or for any part thereof, or any
collateral security or guarantee therefor or right of offset with respect
thereto, may, from time to time, in whole or in part, be renewed, extended,
amended, modified, accelerated, compromised, waived, surrendered or released by
Buyer, and the Facility Documents may be amended, modified, supplemented or
terminated, in whole or in part, as Buyer may deem advisable from time to time,
and any collateral security, guarantee or right of offset at any time held by
Buyer for the payment of the Obligations may be sold, exchanged, waived,
surrendered or released. Buyer shall not have any obligation to protect, secure,
perfect or insure any lien at any time held by it as security for the
Obligations or for this Guaranty or any property subject thereto. When making
any demand hereunder against Guarantor, Buyer may, but shall be under no
obligation to, make a similar demand on Sellers or any other guarantor, and any
failure by Buyer to make any such demand or to collect any payments from Sellers
or any such other guarantor or any release of Sellers or such other guarantor
shall not relieve Guarantor of its obligations or liabilities hereunder, and
shall not impair or affect the rights and remedies, express or implied, or as a
matter of law, of Buyer against Guarantor. For the purposes hereof "demand"
shall include the commencement and continuance of any legal proceedings.

      6. Guaranty Absolute and Unconditional.

      (a) Guarantor waives any and all notice of the creation, renewal,
extension or accrual of any of the Obligations and notice of or proof of
reliance by Buyer upon this Guaranty or acceptance of this Guaranty, the
Obligations, and any of them, shall conclusively be deemed to have been created,
contracted or incurred, or renewed, extended, amended or waived, in reliance
upon this Guaranty; and all dealings between each Seller and Guarantor, on the
one hand, and Buyer, on the other hand, likewise shall be conclusively presumed
to have been had or consummated in reliance upon this Guaranty.

      (b) Guarantor hereby expressly waives all set-offs and counterclaims and
all diligence, presentments, demands for payment, demands for performance,
notices of nonperformance, protests, notices of protest, notices of dishonor,
notices of acceptance of this Guaranty, notices of sale, notice of default or
nonpayment to or upon each Seller or Guarantor, surrender or other handling or
disposition of assets subject to the Repurchase Agreement, any requirement that
Buyer exhaust any right, power or remedy or take any action against Sellers or
against any assets subject to the Repurchase Agreement, and other formalities of
any kind.

      (c) Guarantor understands and agrees that this Guaranty shall be construed
as a continuing, absolute and unconditional guarantee of payment without regard
to (i) the validity, regularity or enforceability of the Repurchase Agreement,
any of the Obligations or any other collateral security therefor or guarantee or
right of offset with respect thereto at any time or from time to time held by
Buyer, (ii) any defense, set-off or counterclaim (other than a defense of
payment or performance) which may at any time be available to or be asserted by
Sellers against Buyer, or (iii) any other circumstance whatsoever (with or
without notice to or knowledge of Sellers or Guarantor) which constitutes, or
might be construed to constitute, an equitable or legal discharge of any Seller
from its Obligations, or of Guarantor from this Guaranty, in bankruptcy or in
any other instance.

                                      -3-
<PAGE>

      (d) When pursuing its rights and remedies hereunder against Guarantor,
Buyer may, but shall be under no obligation to, pursue such rights and remedies
as it may have against Sellers or any other Person or against any collateral
security or guarantee for the Obligations or any right of offset with respect
thereto, and any failure by Buyer to pursue such other rights or remedies or to
collect any payments from Sellers or any such other Person or to realize upon
any such collateral security or guarantee or to exercise any such right of
offset, or any release of Sellers or any such other Person or any such
collateral security, guarantee or right of offset, shall not relieve Guarantor
of any liability hereunder, and shall not impair or affect the rights and
remedies, whether express, implied or available as a matter of law, of Buyer
against Guarantor.

      (e) This Guaranty shall remain in full force and effect and be binding in
accordance with and to the extent of its terms upon Guarantor and the successors
and assigns thereof, and shall inure to the benefit of Buyer, and its
successors, indorsees, transferees and assigns, until all the Obligations and
the obligations of Guarantor under this Guaranty shall have been satisfied by
payment in full and the Repurchase Agreement shall be terminated,
notwithstanding that from time to time prior thereto any Seller may be free from
any Obligations.

      (f) Guarantor waives, to the fullest extent permitted by applicable law,
all defenses of surety to which it may be entitled by statute or otherwise.

      7. Reinstatement. The obligations of Guarantor under this Guaranty, and
this Guaranty, shall continue to be effective, or be reinstated, as the case may
be, and be continued in full force and effect, if at any time any payment, or
any part thereof, of any of the Obligations is rescinded, invalidated, declared
fraudulent or preferentially set aside or must otherwise be restored, returned
or repaid by Buyer upon the insolvency, bankruptcy, dissolution, liquidation or
reorganization of any Seller or Guarantor, or upon or as a result of the
appointment of a receiver, intervenor or conservator of, or trustee or similar
officer for, any Seller or Guarantor or any substantial part of its or their
property, or for any other reason, all as though such payments had not been
made.

      8. Payments. Guarantor hereby guarantees that payments hereunder will be
paid to Buyer without set-off or counterclaim in U.S. Dollars.

      9. Event of Default. If an Event of Default shall have occurred and be
continuing, Guarantor agrees that, as between Guarantor and Buyer, the
Obligations may be declared to be due for purposes of this Guaranty
notwithstanding any stay, injunction or other prohibition which may prevent,
delay or vitiate any such declaration as against any Seller and that, in the
event of any such declaration (or attempted declaration), such Obligations shall
forthwith become due by Guarantor for purposes of this Guaranty.

      10. Representations and Warranties; Covenants.

      (a) Guarantor represents and warrants that (i) it is duly authorized to
execute and deliver this Guaranty, to perform its obligations hereunder and has
taken all necessary action to authorize such execution, delivery and
performance; (ii) the person signing this Guaranty on its behalf is duly
authorized to do so on its behalf; (iii) this Guaranty is a legal, valid and
binding obligation of it, enforceable against it in accordance with its terms,
subject to applicable bankruptcy, insolvency, or similar debtor/creditor laws
and general principles of equity and public policy, (iv) no approval, consent or
authorization of this Guaranty from any federal, state, or local regulatory
authority having jurisdiction over it is required or, if required, such
approval, consent or authorization has been or will be obtained, prior to the
initial Transaction; (v) the execution, delivery, and performance of this
Guaranty will not violate any law, regulation, order, judgment, decree,
ordinance, charter, by law, or rule applicable to it or its property or

                                      -4-
<PAGE>

constitute a default (or an event which, with notice or lapse of time, or both
would constitute a default) under or result in a breach of any material
agreement or other material instrument by which it is bound or by which any of
its assets are affected; (vi) it has received approval and authorization to
enter into this Guaranty pursuant to its internal policies and procedures; (vii)
this Guaranty is not entered into in contemplation of insolvency or with intent
to hinder, delay or defraud any creditor; and (viii) it has examined and
comprehends the Facility Documents in their entirety.

      (b) Guarantor represents, warrants and covenants to Buyer that as of the
date of this Guaranty and as of the date of any Transaction under the Repurchase
Agreement and at all times while this Guaranty and any Transaction under the
Repurchase Agreement are in effect or there are Obligations outstanding:

            (i) Performance of Guaranty. Guarantor does not believe, nor does it
      have any reason or cause to believe, that it cannot perform each and every
      covenant contained in this Guaranty on its part to be performed;

            (ii) Guarantor Not Insolvent. Guarantor is not, and with the passage
      of time does not expect to become, insolvent and is not contemplating the
      commencement of any isolvency; and

            (iii) Ownership of Seller. Guarantor is now, and will remain, the
      direct or indirect owner of all of the capital stock and other beneficial
      interests in each Seller.

      (c) Guarantor covenants and agrees that it shall not consolidate with or
merge into, or transfer all or substantially all of its assets to, another
entity (or permit the occurrence of same) unless the resulting surviving or
transferee entity (i) is a corporation organized under the laws of the United
States of America or political subdivision thereof; (ii) assumes all the
obligations of Guarantor under this Agreement pursuant to an agreement
reasonably satisfactory to Buyer or by law; (iii) such merger, consolidation or
asset transfer has received the prior written approval of the regulatory
authorities having jurisdiction over such transaction; and (iv) Buyer receives
as part of the aforementioned agreement assurances from such entity prior to the
proposed merger, consolidation or asset acquisition, reasonably satisfactory to
Buyer, that such entity would not, following such proposed transaction, present
an unacceptable credit risk to Buyer and would be an entity able to faithfully
perform under the terms of this Guaranty.

      11. Notices. All notices, requests and other communications provided for
herein (including without limitation any modifications of, or waivers, requests
or consents under, this Guaranty) shall be given or made in writing (including
without limitation by telex or telecopy) delivered to the intended recipient at
the "Address for Notices" specified below its name on the signature pages of the
Repurchase Agreement, or, with respect to Guarantor, at the "Address for
Notices" specified below its name on the signature page hereof); or, as to any
party, at such other address as shall be designated by such party in a written
notice to each other party. All such communications shall be deemed to have been
duly given when transmitted by telex or telecopy or personally delivered or, in
the case of a mailed notice, upon receipt, in each case given or addressed as
aforesaid.

      12. Severability. Any provision of this Guaranty which is prohibited or
unenforceable in any jurisdiction shall, as to such jurisdiction, be ineffective
to the extent of such prohibition or unenforceability without invalidating the
remaining provisions hereof, and any such prohibition or unenforceability in any
jurisdiction shall not invalidate or render unenforceable such provision in any
other jurisdiction.

                                      -5-
<PAGE>

      13. Integration. This Guaranty represents the agreement of Guarantor with
respect to the subject matter hereof and thereof and there are no promises or
representations by Buyer relative to the subject matter hereof or thereof not
reflected herein or therein.

      14. Amendments in Writing; No Waiver; Cumulative Remedies.

      (a) None of the terms or provisions of this Guaranty may be waived,
amended, supplemented or otherwise modified except by a written instrument
executed by Guarantor and Buyer, provided that any provision of this Guaranty
may be waived by Buyer.

      (b) Buyer shall not by any act (except by a written instrument pursuant to
Section 14(a) hereof), delay, indulgence, omission or otherwise be deemed to
have waived any right or remedy hereunder or to have acquiesced in any Default
or in any breach of any of the terms and conditions hereof. No failure to
exercise, nor any delay in exercising, on the part of Buyer, any right, power or
privilege hereunder shall operate as a waiver thereof. No single or partial
exercise of any right, power or privilege hereunder shall preclude any other or
further exercise thereof or the exercise of any other right, power or privilege.
A waiver by Buyer of any right or remedy hereunder on any one occasion shall not
be construed as a bar to any right or remedy which Buyer would otherwise have on
any future occasion.

      (c) The rights and remedies herein provided are cumulative, may be
exercised singly or concurrently and are not exclusive of any other rights or
remedies provided by law.

      15. Section Headings. The section headings used in this Guaranty are for
convenience of reference only and are not to affect the construction hereof or
be taken into consideration in the interpretation hereof.

      16. Successors and Assigns. This Guaranty shall be binding upon the
successors and assigns of Guarantor and shall inure to the benefit of Buyer and
its successors and assigns. This Guaranty may not be assigned by Guarantor
without the express written consent of Buyer. Buyer may from time to time assign
all or a portion of its rights and obligations under this Guaranty; provided
that if such assignment is to a Person that is not an Affiliate of Buyer and no
Default shall have occurred and be continuing, any such assignment shall be
subject to the prior written consent of Guarantor, which consent shall not be
unreasonably withheld, delayed or conditioned.

      17. Governing Law. This Guaranty shall be governed by New York law without
reference to its choice of law doctrine.

      18. SUBMISSION TO JURISDICTION; WAIVERS. GUARANTOR HEREBY IRREVOCABLY AND
UNCONDITIONALLY:

            (A) SUBMITS FOR ITSELF AND ITS PROPERTY IN ANY LEGAL ACTION OR
      PROCEEDING RELATING TO THIS GUARANTY AND THE OTHER FACILITY DOCUMENTS, OR
      FOR RECOGNITION AND ENFORCEMENT OF ANY JUDGMENT IN RESPECT THEREOF, TO THE
      NON-EXCLUSIVE GENERAL JURISDICTION OF THE COURTS OF THE STATE OF NEW YORK,
      THE FEDERAL COURTS OF THE UNITED STATES OF AMERICA FOR THE SOUTHERN
      DISTRICT OF NEW YORK, AND APPELLATE COURTS FROM ANY THEREOF;

            (B) CONSENTS THAT ANY SUCH ACTION OR PROCEEDING MAY BE BROUGHT IN
      SUCH COURTS AND, TO THE EXTENT PERMITTED BY LAW, WAIVES ANY OBJECTION THAT
      IT MAY NOW OR HEREAFTER HAVE TO THE

                                      -6-
<PAGE>

      VENUE OF ANY SUCH ACTION OR PROCEEDING IN ANY SUCH COURT OR THAT SUCH
      ACTION OR PROCEEDING WAS BROUGHT IN AN INCONVENIENT COURT AND AGREES NOT
      TO PLEAD OR CLAIM THE SAME;

            (C) AGREES THAT SERVICE OF PROCESS IN ANY SUCH ACTION OR PROCEEDING
      MAY BE EFFECTED BY MAILING A COPY THEREOF BY REGISTERED OR CERTIFIED MAIL
      (OR ANY SUBSTANTIALLY SIMILAR FORM OF MAIL), POSTAGE PREPAID, TO ITS
      ADDRESS SET FORTH UNDER ITS SIGNATURE BELOW OR AT SUCH OTHER ADDRESS OF
      WHICH BUYER SHALL HAVE BEEN NOTIFIED; AND

            (D) AGREES THAT NOTHING HEREIN SHALL AFFECT THE RIGHT TO EFFECT
      SERVICE OF PROCESS IN ANY OTHER MANNER PERMITTED BY LAW OR SHALL LIMIT THE
      RIGHT TO SUE IN ANY OTHER JURISDICTION.

      19. WAIVER OF JURY TRIAL. EACH OF GUARANTOR AND BUYER HEREBY IRREVOCABLY
WAIVES, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY AND ALL RIGHT TO
TRIAL BY JURY IN ANY LEGAL PROCEEDING ARISING OUT OF OR RELATING TO THIS
GUARANTY, ANY OTHER REPURCHASE DOCUMENT OR THE TRANSACTIONS CONTEMPLATED HEREBY
OR THEREBY.

                            [SIGNATURE PAGE FOLLOWS]

                                      -7-
<PAGE>

      IN WITNESS WHEREOF, Guarantor has caused this Guaranty to be duly executed
and delivered by its duly authorized officer as of the day and year first above
written.

GUARANTOR:                                   Address for Notices to Guarantor:

AMERICAN HOME MORTGAGE INVESTMENT CORP.,     American Home Mortgage Investment
a Maryland corporation                       Corp.
                                             538 Broadhollow Road
                                             Melville, New York 11747
                                             Attention: Alan B. Horn
                                             Facsimile No.: 800-209-7276
By:  /s/ Stephen A. Hozie                    Telephone No.: 516-396-7703
    -----------------------------
Name: Stephen A. Hozie
Title: Executive Vice President and Chief
Financial Officer

                      SIGNATURE PAGE TO GUARANTY AGREEMENTEXHIBIT 10.6.1

                                                              September 13, 2005

American Home Mortgage Acceptance, Inc.
538 Broadhollow Road
Melville, New York  11747

      Re:   Transactions for Mortgage Loans

Ladies and Gentlemen:

            Reference is made to the Master Repurchase Agreement, dated as of
March 29, 2004 (the "Master Repurchase Agreement"), by and among Lehman Brothers
Inc. and Lehman Commercial Paper Inc. (collectively "Buyer") and American Home
Mortgage Acceptance Inc. ("Seller"). Capitalized terms used herein but not
defined herein shall have the meanings given in the Master Repurchase Agreement.

            This letter agreement (the "Letter Agreement") sets forth the terms
and conditions on which the Buyer may enter into Transactions with the Seller
with respect to the whole mortgage loans referenced on Schedule A attached
hereto (the "Mortgage Loans"). This Letter Agreement shall be deemed to
constitute a part of, and be read together with, the Master Repurchase
Agreement. In the event of any inconsistency between the Master Repurchase
Agreement and this Letter Agreement, this Letter Agreement shall prevail. This
Letter Agreement shall be governed by and construed in accordance with the laws
of the State of New York, without regard to its conflicts of laws principles.

            In consideration of the willingness of the Buyer to enter into
Transactions for the Mortgage Loans, from time to time, the Seller and the Buyer
agree as follows:

     1. Mortgage Loans. For all purposes of the Master Repurchase Agreement, all
references to Securities and Purchased Securities shall be deemed to include the
Mortgage Loans. This Letter Agreement shall apply to any Transaction for
Purchased Securities where the Purchased Securities are the Mortgage Loans,
without the requirement of any further action or notice being taken by the Buyer
or the Seller. The parties hereto acknowledge and agree that the Repurchase Date
for any Transaction for Mortgage Loans shall not extend beyond October 14, 2005.
The Seller expressly acknowledges and agrees that the Buyer shall not have any
obligation to make any future advances under the Mortgage Loans and any
requirements under the Mortgage Loans to disburse additional proceeds shall be
satisfied solely and exclusively by the Seller.

     2. Definitions.

     (a) The following definitions in Section 2 of the Master Repurchase
Agreement are hereby deleted in their entirety and replaced with the language
set forth below solely for purposes of any Transaction for the Mortgage Loans:

                                  Schedule D-1
<PAGE>

            "Buyer's Margin Percentage", 103.50%;

            "Market Value", the price at which such Mortgage Loan could readily
            be sold as determined by Buyer in its discretion, provided that
            Market Value shall be deemed zero for any Mortgage Loan with respect
            to which there is a breach of a representation or warranty made by
            Seller in the Letter Agreement;

            "Pricing Rate", the per annum percentage rate for determination of
            the Price Differential, which shall equal LIBOR plus 0.50% (or after
            the occurrence and during the continuance of an Event of Default on
            the part of Seller, LIBOR plus 6.00%);

     (b) The following definitions are hereby added to Section 2 of the Master
Repurchase Agreement for purposes of any Transaction for the Mortgage Loans:

            "Affiliate" means, with respect to any Person, another Person that
            directly or indirectly controls, or is under common control with, or
            is controlled by, such Person. As used in this definition, "control"
            (including its correlative meanings, "controlled by" and "under
            common control with") means possession, directly or indirectly, of
            power to direct or cause the direction of management or policies
            (whether through ownership of securities or partnership or other
            ownership interests, by contract or otherwise).

            "Capital Lease", as applied to any Person or entity, shall mean any
            lease of any property (whether real, personal or mixed) by that
            Person or entity as lessee that, in conformity with GAAP, is
            accounted for as a capital lease on the balance sheet of that Person
            or entity.

            "Custodial Agreement" means that custodial agreement, dated as of
            December 3, 2004, as amended by the First Amendment to Custodial
            Agreement, dated as of June 10, 2005 and the Second Amendment to
            Custodial Agreement, dated as of the date hereof (the "Second
            Amendment") and as further amended, modified or supplemented from
            time to time, by and among Buyer, Seller and Custodian. The form of
            the Second Amendment is attached hereto as Schedule B.

            "Custodian" means the custodian under the Custodial Agreement. The
            initial custodian is Deutsche Bank National Trust Company.

            "GAAP" means with respect to the financial statements or other
            financial information of any Person, generally accepted accounting
            principles in the United States that are in effect from time to
            time.

            "Indebtedness" means, for any Person: (a) obligations created,
            issued or incurred by such Person for borrowed money (whether by
            loan, the issuance and sale of debt securities or the sale of
            property to another Person subject to an understanding or agreement,
            contingent or otherwise, to repurchase such property from such
            Person); (b) obligations of such Person to pay the deferred purchase
            or acquisition price of property or services, other than trade
            accounts payable (other

                                  Schedule D-2
<PAGE>

            than for borrowed money) arising, and accrued expenses incurred, in
            the ordinary course of business so long as such trade accounts
            payable are payable within ninety (90) days of the date the
            respective goods are delivered or the respective services are
            rendered; (c) Indebtedness of others secured by a lien on the
            property of such Person, whether or not the respective indebtedness
            so secured has been assumed by such Person; (d) obligations of such
            Person in respect of letters of credit or similar instruments issued
            or accepted by banks and other financial institutions for account of
            such Person; (e) Capital Leases of such Person; and (f) any of the
            foregoing types of indebtedness of others guaranteed by such Person
            (without duplication).

            "LIBOR" means the rate per annum calculated two (2) Business Days
            prior to each Repurchase Date determined by Buyer on the basis of
            the offered rate for one month deposits of not less than U.S.
            $1,000,000, that appears on the date of determination on Dow Jones
            Market Service Page 3750 as of 11:00 a.m., London time (or such
            other page as may replace the Dow Jones Market Service Page on that
            service for the purposes of displaying London interbank offered
            rates of major banks). All percentages resulting from any
            calculations of LIBOR referred to in this Letter Agreement shall be
            rounded up to the nearest multiple of 1/100 of 1% and all U.S.
            Dollar amounts used in or resulting from such calculations shall be
            rounded to the next higher cent.

            "Material Adverse Effect" shall mean a material adverse effect on
            (a) the business, assets, property or condition (financial or
            otherwise) of Seller, or (b) the validity or enforceability of (i)
            the Master Repurchase Agreement (or any material provision thereof)
            or (ii) the rights, remedies or interests of Buyer hereunder or
            thereunder.

            "Mortgage" means a mortgage, deed of trust, deed to secure debt or
            other instrument, creating a valid, enforceable first or second lien
            on, or a first or second priority ownership interest in an estate in
            fee simple in, real property and the improvements thereon, securing
            a mortgage note or similar evidence of indebtedness.

            "Mortgage Note" means a note or other evidence of indebtedness of a
            Mortgagor secured by a Mortgage.

            "Mortgaged Property" means the real property securing repayment of
            the debt evidenced by a Mortgage Note.

            "Person" means an individual, partnership, limited liability
            company, corporation, joint stock company, trust or unincorporated
            organization or a governmental agency or political subdivision
            thereof.

            "Subsidiary" means, as to any Person, a corporation, partnership or
            other entity of which shares of stock or other ownership interests
            having ordinary voting power (other than stock or such other
            ownership interests having such power only by

                                  Schedule D-3
<PAGE>

            reason of the happening of a contingency) to elect a majority of the
            board of directors or other managers of such corporation,
            partnership or other entity are at the time owned, or the management
            of which is otherwise controlled, directly or indirectly through one
            or more intermediaries, or both, by such Person. Unless otherwise
            qualified, all references to a "Subsidiary" or to "Subsidiaries" in
            this Agreement shall refer to a Subsidiary or Subsidiaries of
            Seller.

            "Uniform Commercial Code" means the Uniform Commercial Code as in
            effect on the date in effect from time to time in the State of New
            York; provided, that if by reason of mandatory provisions of law,
            the perfection or the effect of perfection or non-perfection of the
            security interest in any Collateral is governed by the Uniform
            Commercial Code as in effect in a jurisdiction other than New York,
            "Uniform Commercial Code" shall mean the Uniform Commercial Code as
            in effect in such other jurisdiction for purposes of the provisions
            hereof relating to such perfection or effect of perfection or
            non-perfection.

     (c) The following definitions in Section 2 of the Master Repurchase
Agreement are hereby deleted for purposes of any Transaction for the Mortgage
Loans: "Margin Excess", "Seller's Margin Amount" and "Seller's Margin
Percentage".

      3. Margin Excess. Section 4(b) of the Master Repurchase Agreement (and all
references to Section 4(b) in any other Section of the Master Repurchase
Agreement) are hereby deleted in their entirety.

      4. Purchase Price; Maximum Purchase Price. The Purchase Price with respect
to any Transaction for the Mortgage Loans shall be equal to, with respect to
each Mortgage Loan, 98% of the lesser of (a) the Market Value of such Mortgage
Loan and (b) the outstanding principal balance of such Mortgage Loan, provided
that the maximum Purchase Price with respect to all Transactions for the
Mortgage Loans shall be equal to $500,000,000.

      5. Security Interest. Solely for purposes of any Transaction for the
Mortgage Loans, Section 6 of the Master Repurchase Agreement is hereby deleted
in its entirety and replaced with the following:

      (a) Buyer and Seller intend that the Transactions hereunder be sales to
Buyer of the Mortgage Loans and not loans from Buyer to Seller secured by the
Mortgage Loans. However, in order to preserve Buyer's rights under the Master
Repurchase Agreement in the event that a court or other forum recharacterizes
the Transactions hereunder as loans, and as security for the performance by
Seller of all of Seller's obligations to Buyer under, the Master Repurchase
Agreement and the Transactions entered into pursuant to the Master Repurchase
Agreement, Seller grants to Buyer a security interest in the Mortgage Loans,
servicing records, purchase commitments, insurance and guarantees relating to
the Mortgage Loans, Mortgage Notes, Mortgages, income, any and all hedges, any
and all servicing agreements and any and all collection accounts and escrow
accounts relating to the Mortgage Loans and all cash or other property or
amounts on deposit therein and any other general intangibles, instruments,
supporting obligations, and other assets relating to the Mortgage Loans or any
interest in the Mortgage Loans and the servicing of the Mortgage Loans and any
and all replacements or substitutions for,

                                  Schedule D-4
<PAGE>

distributions on or proceeds of any and all of the foregoing (collectively, and
together with any other property or interests in which Seller grants a security
interest to Buyer, the "Collateral").

      (b) Seller shall pay all fees and expenses associated with perfecting and
maintaining Buyer's security interest (and ownership interest) in the Collateral
(including the cost of filing financing statements under the Uniform Commercial
Code and recording assignments of Mortgage, as and when required by Buyer in its
discretion). Seller shall take such further actions as are necessary in order to
perfect Buyer's first priority security interest in any hedges.

      6. Payment, Transfer and Custody. Solely for purposes of any Transaction
for the Mortgage Loans, Section 7 of the Master Repurchase Agreement is hereby
deleted in its entirety and replaced with the following:

      (a) On the Purchase Date for each Transaction, ownership of the Mortgage
Loans shall be transferred to Buyer or its designee (including Custodian)
against the simultaneous transfer of the Purchase Price to an account of Seller
specified in the Confirmation. Seller, simultaneously with the delivery to Buyer
or its designee (including Custodian) of the Mortgage Loans relating to each
Transaction, hereby sells, transfers, conveys and assigns to Buyer or its
designee (including Custodian) without recourse, but subject to the terms of the
Master Repurchase Agreement, all the right, title and interest of Seller in and
to the Mortgage Loans together with all right, title and interest in and to the
proceeds of any related insurance policies.

      (b) In connection with each sale, transfer, conveyance and assignment, on
or prior to each Purchase Date with respect to each Mortgage Loan, Seller shall
deliver or cause to be delivered and released to Custodian the following
original documents (collectively the "Mortgage File"), pertaining to each of the
Mortgage Loans delivered therewith:

                  (i) the original Mortgage Note bearing all intervening
            endorsements (or allonges), endorsed "Pay to the order of
            ___________, without recourse" and signed in the name of the last
            endorsee (the "Last Endorsee") by an authorized officer (in the
            event that the Mortgage Loan was acquired by the Last Endorsee in a
            merger, the signature must be in the following form: "[the Last
            Endorsee], successor by merger to [name of predecessor]"; in the
            event that the Mortgage Loan was acquired or originated while doing
            business under another name, the signature must be in the following
            form: "[the Last Endorsee], formerly known as [previous name]");

                  (ii) the original of any guarantee executed in connection with
            the Mortgage Note (if any);

                  (iii) the original Mortgage with evidence of recording thereon
            or a copy certified by Seller, its agent or the title company on
            behalf of Seller that have been sent for recording;

                  (iv) the originals of all assumption, modification,
            consolidation or extension agreements, with evidence of recording
            thereon or copies certified by Seller, its agent or the title
            company on behalf of Seller to have been sent for recording, if any;

                                  Schedule D-5
<PAGE>

                  (v) the original assignment of Mortgage in blank for each
            Mortgage Loan, in form and substance acceptable for recording and
            signed in the name of the last endorsee thereof (in the event that
            the Mortgage Loan was acquired by the last endorsee in a merger, the
            signature must be in the following form: "[the last endorsee],
            successor by merger to [name of predecessor]"; in the event that the
            Mortgage Loan was acquired or originated while doing business under
            another name, the signature must be in the following form: "[the
            last endorsee], formerly known as [previous name]");

                  (vi) the originals of all intervening assignments of mortgage
            with evidence of recording thereon or copies certified by Seller to
            have been sent for recording, if any;

                  (vii) the original of any security agreement, chattel mortgage
            or equivalent document executed in connection with the Mortgage (if
            any); and

                  (viii) the original power of attorney, if any, or a copy
            thereof certified by Seller to have been sent for recording, for any
            document described above.

      (c) With respect to each Mortgage Loan delivered by Seller to Buyer or its
designee (including Custodian), Seller shall have executed an omnibus power of
attorney irrevocably appointing Buyer its attorney-in-fact with full power to
complete and record the assignment of Mortgage, complete the endorsement of the
Mortgage Note and take such other steps as may be necessary or desirable to
enforce Buyer's rights against such Mortgage Loans, the related Mortgage Files
and the servicing records.

      (d) Buyer shall deposit the Mortgage Files representing the Mortgage
Loans, or direct that the Mortgage Files be deposited directly, with Custodian.
The Mortgage Files shall be maintained in accordance with the Custodial
Agreement.

      (e) Any Mortgage Files not delivered to Buyer or its designee (including
Custodian) are and shall be held in trust by Seller or its designee for the
benefit of Buyer as the owner thereof. Seller or its designee shall maintain a
copy of the Mortgage File and the originals of the Mortgage File not delivered
to Buyer or its designee. The possession of the Mortgage File by Seller or its
designee is at the will of Buyer for the sole purpose of servicing the related
Mortgage Loan, and such retention and possession by Seller or its designee is in
a custodial capacity only. The books and records (including any computer records
or tapes) of Seller or its designee shall be marked appropriately to reflect
clearly the sale of the related Mortgage Loan to Buyer. Seller or its designee
(including Custodian) shall release its custody of the Mortgage File only in
accordance with written instructions from Buyer, unless such release is required
as incidental to the servicing of the Mortgage Loans or is in connection with a
repurchase of any Mortgage Loan by Seller.

      7. Representations and Warranties. In addition to the representations and
warranties set forth in Section 10 of the Master Repurchase Agreement, but
solely for purposes of any Transaction for the Mortgage Loans pursuant to this
Letter Agreement, the following shall apply:

                                  Schedule D-6
<PAGE>

      (a) Seller represents and warrants to Buyer that as of the Purchase Date
for the purchase of any Mortgage Loans by Buyer from Seller and as of the date
of this Letter Agreement and any Transaction hereunder and at all times while
this Letter Agreement and any Transaction for Mortgage Loans hereunder is in
full force and effect:

                  (i) Organization. Seller is duly organized, validly existing
            and in good standing under the laws of the State of Maryland and is
            duly licensed, qualified, and in good standing in every state where
            Seller transacts business and in any state where any Mortgaged
            Property is located if the laws of such state require licensing or
            qualification in order to conduct business of the type conducted by
            Seller, as the case may be, therein, except where the failure to be
            so licensed, qualified, and in good standing would not result in a
            Material Adverse Effect.

                  (ii) No Litigation. There is no action, suit, proceeding,
            arbitration or investigation pending or, to Seller's knowledge,
            threatened against Seller which, either in any one instance or in
            the aggregate, is likely to result in any Material Adverse Effect.

                  (iii) No Broker. Seller has not dealt with any broker,
            investment banker, agent, or other person, except for Buyer, who may
            be entitled to any commission or compensation in connection with the
            sale of Mortgage Loans pursuant to the Master Repurchase Agreement.

                  (iv) Good Title to Collateral. The Mortgage Loans shall be
            free and clear of any lien, encumbrance or impediment to transfer,
            and Seller has good, valid and marketable title and the right to
            sell and transfer such Mortgage Loans to Buyer free and clear of all
            liens.

                  (v) Delivery of Mortgage File. With respect to each Mortgage
            Loan, the Mortgage Note, the Mortgage, the assignment of Mortgage
            and any other documents required to be delivered under this Letter
            Agreement and the Custodial Agreement for the Mortgage Loans have
            been or will be delivered to Custodian. Seller or its designee is in
            possession of a complete, true and accurate Mortgage File with
            respect to the Mortgage Loans, except for such documents that have
            been delivered to Custodian.

                  (vi) Selection Process. The Purchased Mortgage Loans were
            selected from among the outstanding mortgage loans in Seller's
            portfolio as to which the representations and warranties set forth
            in this Letter Agreement could be made and such selection was not
            made in a manner so as to affect adversely the interests of Buyer.

                  (vii) No Untrue Statements. Neither this Letter Agreement nor
            any written statement made, or any report or other document issued
            or delivered or to be issued or delivered by Seller, pursuant to
            this Agreement or in connection with the transactions contemplated
            hereby contains any untrue statement of a material

                                  Schedule D-7
<PAGE>

            fact or omits to state a material fact necessary to make the
            statements contained herein not misleading.

                  (viii) Origination Practices. The origination practices used
            by Seller with respect to each Mortgage Loan (A) have been and are
            in all respects legal and proper in the mortgage origination
            business and (B) are in accordance with the underwriting guidelines
            previously supplied by Seller to Buyer.

                  (ix) Performance of Agreement. Seller does not believe, nor
            does it have any reason or cause to believe, that it cannot perform
            each and every covenant contained in the Master Repurchase Agreement
            on its part to be performed.

                  (x) Seller Not Insolvent. Seller is not, and with the passage
            of time does not expect to become, insolvent.

                  (xi) No Event of Default. No default or Event of Default has
            occurred and is continuing hereunder.

                  (xii) Financial Condition.

                        (A) The consolidated balance sheet of American Home
                  Mortgage Investment Corp. and its respective consolidated
                  Subsidiaries, as at March 31, 2005, and the related
                  consolidated statements of income and of cash flows for the
                  quarter ended on such date, copies of which have heretofore
                  been furnished to Buyer, are complete and correct and present
                  fairly in accordance with GAAP the consolidated or
                  consolidating financial condition of each such Person and its
                  Subsidiaries as at such dates, and the results of their
                  operations and their cash flows for the quarter then ended.

                        (B) All such financial statements, including the related
                  schedules and notes thereto, have been prepared in accordance
                  with GAAP applied consistently throughout the periods
                  involved.

                        (C) Neither American Home Mortgage Investment Corp. nor
                  any of its Subsidiaries had, at the date of the most recent
                  financial statements referred to above, any material guarantee
                  obligation, contingent liability or liability for taxes, or
                  any long-term lease or unusual forward or long-term commitment
                  (including any interest rate or foreign currency swap or
                  exchange transaction, or other financial derivative), that is
                  not reflected in the foregoing statements or in the notes
                  thereto.

                  (xiii) No Change. Since June 30, 2005, there has been no
            development or event, nor any prospective development or event,
            which has had or is reasonably expected to have a Material Adverse
            Effect.

                                  Schedule D-8
<PAGE>

                  (xiv) Corporate Power; Compliance with Law. Seller (a) has the
            corporate power and authority, and the legal right, to own and
            operate its property, to lease the property it operates as lessee,
            to carry on its business as now being or as proposed to be
            conducted, to originate, acquire and own Mortgage Loans, to sell and
            repurchase such Mortgage Loans pursuant to this Agreement, and to
            make, deliver and perform the Master Repurchase Agreement, and (b)
            is in compliance in all material respects with all legal
            requirements (including environmental law and the Real Estate
            Settlement Procedures Act, the Home Ownership and Equity Protection
            Act and related state law).

                  (xv) Enforceability. This Agreement has been duly and validly
            executed and delivered by Seller and constitutes a legal, valid and
            binding obligation of Seller, enforceable against Seller in
            accordance with its terms, except as enforceability may be limited
            by applicable bankruptcy, insolvency, reorganization, moratorium or
            similar laws affecting the enforcement of creditors' rights
            generally and by general equitable principles (whether enforcement
            is sought by proceedings in equity or at law).

                  (xvi) Collateral; Collateral Security.

                        (A) If the Transactions are recharacterized as secured
                  financings, the provisions of this Agreement are effective to
                  create in favor of Buyer a valid security interest in all
                  right, title and interest of Seller in, to and under the
                  Collateral.

                        (B) Upon receipt by Custodian of each Mortgage Note,
                  endorsed in blank by a duly authorized officer of Seller,
                  Buyer shall have a fully perfected first priority security
                  interest therein, in the Mortgage Loan evidenced thereby, and
                  Seller's interest in the related Mortgaged Property.

                        (C) Financing Statements on Form UCC-1 having been filed
                  naming Buyer as "Secured Party" and Seller as "Debtor", and
                  describing the Collateral, the security interests granted
                  hereunder in the Collateral (other than Mortgage Notes) will
                  constitute fully perfected first priority security interests
                  under the Uniform Commercial Code in all right, title and
                  interest of Seller in, to and under such Collateral, which can
                  be perfected by filing under the Uniform Commercial Code.

                  (xvii) Taxes. Seller has filed all Federal income tax returns
            and all other material tax returns that are required to be filed by
            it and has paid all taxes due pursuant to such returns or pursuant
            to any claims or assessment received by it, except for any such
            taxes or assessments, if any, that are being appropriately contested
            in good faith by appropriate proceedings diligently conducted and
            with respect to which adequate reserves in conformity with GAAP have
            been established. No tax lien has been filed against Seller.

                                  Schedule D-9
<PAGE>

                  (xviii) Investment Company Act; Other Regulations. Seller is
            not an "investment company", or a company "controlled" by an
            "investment company", within the meaning of the Investment Company
            Act of 1940, as amended.

                  (xix) Subsidiaries. Seller has provided to Buyer a true,
            complete and correct schedule of all of its Subsidiaries in
            existence as of the date hereof.

      (b) Seller represents and warrants to Buyer that each Mortgage Loan sold
hereunder and each pool of Mortgage Loans sold in a Transaction hereunder, as of
the related Purchase Date, conforms in all material respects to the
representations and warranties set forth in Schedule C attached hereto. It is
understood and agreed that the representations and warranties set forth in
Schedule C hereto, if any, shall survive delivery of the respective Mortgage
File to Buyer or its designee (including Custodian).

      (c) On the Purchase Date for any Transaction, Seller shall be deemed to
have made all the foregoing representations as of such Purchase Date.

      8. Events of Default. In addition to the Events of Default set forth in
Section 11 of the Master Repurchase Agreement, but solely for purposes of any
Transaction for the Mortgage Loans pursuant to this Letter Agreement, the
following shall be deemed Events of Default on the part of Seller for all
purposes of the Master Repurchase Agreement:

                  (i) any governmental, regulatory, or self-regulatory authority
            takes any action to remove, limit, restrict, suspend or terminate
            the rights, privileges, or operations of Seller or any of its
            Affiliates, including suspension as an issuer, lender or
            seller/servicer of mortgage loans, which action results in a
            Material Adverse Effect, and which continues for more than 24 hours;

                  (ii) Seller dissolves, merges or consolidates with another
            entity (unless (A) it is the surviving party or (B) the entity into
            which it merges has equity and a market value of at least that of
            Seller immediately prior to such merger and such entity and
            expressly assumes its obligations under the Master Repurchase
            Agreement), or sells, transfers, or otherwise disposes of a material
            portion of its business or assets, except for the sale or transfer
            of Mortgage Loans in the ordinary course of business;

                  (iii) Buyer, in its reasonable good faith judgment, believes
            that there has been a material adverse change in the business,
            operations, corporate structure or financial condition of Seller or
            that Seller will not meet any of its obligations under the Master
            Repurchase Agreement or any other agreement between the parties;

                  (iv) Guarantor or any of its Subsidiaries shall fail to
            perform or shall violate the Master Repurchase Agreement or any
            other agreement or instrument between any of them and Buyer or any
            of its Affiliates and such failure or violation continues unremedied
            after any applicable grace period therefor, or Guarantor or any of
            Guarantor 's Subsidiaries shall fail to pay when due or within any
            applicable grace period therefor any portion of any single
            obligation

                                  Schedule D-10
<PAGE>

            constituting Indebtedness of Guarantor or any of Guarantor's
            Subsidiaries in excess of $2,500,000; or any default or other event
            shall occur under or with respect to any agreement under which any
            single obligation constituting Indebtedness of Guarantor or any of
            Guarantor's Subsidiaries in excess of $2,500,000 was created or is
            governed, the effect of which is to cause, or to permit the holder
            or holder of such indebtedness to cause, such indebtedness to become
            due prior to its stated maturity; or any single obligation
            constituting indebtedness of Guarantor or any of Guarantor's
            Subsidiaries in excess of $2,500,000 shall be declared to be due and
            payable, or required to be prepaid (other than by a regularly
            scheduled payment), prior to the stated maturity thereof;

                  (v) A final judgment by any competent court in the United
            States of America for the payment of money in an amount of at least
            $2,500,000 is rendered against Seller, and the same remains
            undischarged or unpaid for a period of thirty (30) days during which
            execution of such judgment is not effectively stayed;

                  (vi) This Letter Agreement shall for any reason cease to
            create a valid, first priority security interest in any of the
            Mortgage Loans purported to be covered hereby;

                  (vii) any Person or entity or any group (within the meaning of
            Section 13(d)(3) of the Securities Exchange Act of 1934, as amended)
            of Persons and/or entities, shall have acquired beneficial ownership
            (within the meaning of Rule 13d-3 of the Securities and Exchange
            Commission under the Securities Exchange Act of 1934, as amended),
            directly or indirectly, in one or more transactions, of securities
            of Seller (or other securities convertible into such securities)
            representing more than 50% of the combined voting power of all
            securities of such entity entitled to vote in the election of
            directors (other than the Person or entities owning such securities
            on the date of this Letter Agreement or any other Affiliate of
            Seller); or

                  (viii) Guarantor revokes its status as a REIT or ceases to
            qualify as a REIT or Seller ceases to qualify as a qualified REIT
            subsidiary as defined in Section 856 of the Internal Revenue Code.

      9. Remedies. In Section 11(d)(i) of the Master Repurchase Agreement, the
phrase in the eighth through tenth lines which reads "the price therefor on such
date, obtained from a generally recognized source or the most recent closing bid
quotation from such a source," is hereby deleted in its entirety with respect to
any Transaction for Mortgage Loans and replaced with the following: "the Market
Value of the Mortgage Loans".

      10. Guaranty. On the date hereof, American Home Mortgage Investment Corp.
(in such capacity, the "Guarantor") shall deliver to the Buyer a Guaranty of the
full and timely payment of the Repurchase Price with respect to any Transaction
for the Mortgage Loans, the form of which is attached hereto as Schedule D.

                                  Schedule D-11
<PAGE>

      11. Indemnification. Seller agrees to hold Buyer harmless from and
indemnify Buyer (and its directors, officers, employees and agents) against all
liabilities, losses, damages, judgments, reasonably incurred out-of-pocket costs
and expenses of any kind that may be imposed on, incurred by or asserted against
Buyer (collectively, the "Costs") relating to or arising out of the Transactions
for Mortgage Loans or the Master Repurchase Agreement, including reasonable
legal costs and settlement costs, except if a court of competent jurisdiction
determines by final and nonappealable judgment that such losses, liabilities,
claims, damages or expenses result from the gross negligence or willful
misconduct of the indemnified party ("Excluded Causes"). Without limiting the
generality of the foregoing, Seller agrees to hold Buyer harmless from and
indemnify Buyer against all Costs with respect to all Mortgage Loans relating to
or arising out of any violation or alleged violation of any environmental law,
rule or regulation or any consumer credit laws, including ERISA, the Truth in
Lending Act, the Home Ownership and Equity Protection Act and/or the Real Estate
Settlement Procedures Act, that, in each case, results from anything other than
Excluded Causes. In any suit, proceeding or action brought by Buyer in
connection with any Mortgage Loan for any sum owing thereunder, or to enforce
any provisions of any Mortgage Loan, Seller will save, indemnify and hold Buyer
harmless from and against all expense, loss or damage suffered by reason of any
defense, set-off, counterclaim, recoupment or reduction or liability whatsoever
of the account debtor or obligor thereunder or arising out of any other
agreement, indebtedness or liability at any time owing to or in favor of such
account debtor or obligor or its successors from Seller. Seller also agrees to
reimburse Buyer as and when billed by Buyer for all Buyer's ongoing due
diligence and auditing expenses and costs and expenses incurred in connection
with the enforcement or the preservation of Buyer's rights under the Master
Repurchase Agreement or any Transaction for Mortgage Loans contemplated hereby,
including the reasonable fees and disbursements of its counsel and other third
party agents. Seller hereby acknowledges that the obligation of Seller hereunder
is a recourse obligation of Seller.

      12. Expenses. Seller shall be responsible for (a) all reasonable
out-of-pocket costs and expenses incurred by Buyer in connection with the
preparation, execution, delivery and administration of this Letter Agreement and
any amendment or waiver with respect thereto (including reasonable fees and
disbursements and other charges of counsel), (b) all out-of-pocket costs and
expenses incurred by Buyer in connection with the enforcement of this Letter
Agreement (including the fees and disbursements and other reasonable charges of
counsel) and (c) ongoing due diligence and auditing expenses of Buyer (including
reasonable fees and disbursements of third party agents).

      13. Servicing. Seller (directly or through an Affiliate of Seller) shall
service the Mortgage Loans in accordance with standards as are customary with
other prudent mortgage lenders with respect to mortgage loans similar to the
Mortgage Loans and are acceptable to Buyer. In the event that Buyer must
liquidate the Mortgage Loans after an Event of Default, Seller acknowledges such
Mortgage Loans may be sold on a servicing-released basis and that no servicing
termination fee will be payable to Seller or any sub-servicers, if applicable.
Any sub-servicer that is not an Affiliate of Seller must be approved by Buyer.

      14. Collateral Information. On each Purchase Date (with respect to
Mortgage Loans purchased on such date) and by no later than the fifth business
day of each month (with respect to all Mortgage Loans subject to Transactions as
of the last day of the preceding month), Seller

                                  Schedule D-12
<PAGE>

shall deliver to Buyer, either by direct modem electronic transmission or via a
computer diskette, information in Excel format with respect to each Mortgage
Loan the following data: (i) loan ID, (ii) borrower name, (iii) property
address, (iv) property city and state, (v) property zip code, (vi) credit limit,
(vii) current drawn balance, (viii) current interest rate, (ix) index, (x)
margin, (xi) interest rate adjustment frequency, (xii) maximum rate adjustment
(lifetime cap), (xiii) any other interest rate caps, (xiv) teaser rate and
expiry (if applicable), (xv) original term to maturity, (xvi) draw/repayment
period, (xvii) max draw, (xviii) paydown, (xix) draw in most recent period, (xx)
total draws, (xxi) origination date, (xxii) first payment date, (xxiii) lien
position, (xxiv) appraisal value (and purchase price if applicable), (xxv)
appraisal type, (xxvi) type of AVM used (if applicable), (xxvii) senior lien
balance(s), (xxviii) combined loan-to-value (or LTV as applicable), (xxix)
property type, (xxx) occupancy status, (xxxi) loan purpose, (xxxii) document
type (full, limited, stated, etc.), (xxxiii) asset verification (yes/no),
(xxxiv) FICO Score (current and original), (xxxv) date of FICO score, (xxxvi)
payment history, (xxxvii) prepayment penalty type & duration (if applicable),
and (xxxviii) flag for employee accounts.

                                  Schedule D-13
<PAGE>

            Please indicate your agreement to the terms and conditions of this
Letter Agreement in the space provided below where upon this Letter Agreement
shall become a binding agreement between us.

                                         Very truly yours,

                                         LEHMAN BROTHERS INC.

                                         By: /s/ Thomas J. O'Hara
                                            ------------------------------------
                                            Name:  Thomas J. O'Hara
                                            Title: Senior Vice President

                                         LEHMAN COMMERCIAL PAPER INC.

                                         By: /s/ Thomas J. O'Hara
                                            ------------------------------------
                                            Name:  Thomas J. O'Hara
                                            Title: Senior Vice President

Accepted and Agreed as of
the date first above written:

AMERICAN HOME MORTGAGE ACCEPTANCE, INC.

By: /s/ Alan Horn
   ------------------------------------
   Name: Alan Horn
   Title: Executive Vice President
   Secretary, and General Counsel

                                  Schedule D-14

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00093-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00093-of-00352.parquet"}]]