IVANHOE ENERGY INC
LETTER OF GUARANTEE
<DOCUMENT>
<TYPE>EX-10.2
<SEQUENCE>3
<FILENAME>o12765exv10w2.htm
<DESCRIPTION>LETTER OF GUARANTEE
<TEXT>
<HTML>
<HEAD>
<TITLE>Letter of Guarantee</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- PAGEBREAK -->
<H5 align="left" style="page-break-before:always">&nbsp;</H5><P>
<P align="right"><FONT size="2"><B>Exhibit 10.2</B>
</FONT>

<P align="left"><FONT size="2"><B>March 1st, 2004</B>
</FONT>

<CENTER>
<TABLE cellspacing="0" border="0" cellpadding="0" width="100%">
<TR valign="bottom">
    <TD width="2%">&nbsp;</TD>
    <TD width="2%">&nbsp;</TD>
    <TD width="95%">&nbsp;</TD>
</TR>
<TR valign="bottom">
    <TD valign="top"><FONT size="2">To:</FONT></TD>
    <TD><FONT size="2">&nbsp;</FONT></TD>
    <TD align="left" valign="top"><FONT size="2">
Richfirst Holdings Limited<BR>
Room&nbsp;2118 Hutchinson House, Harcourt Road<BR>
Hong Kong<BR></FONT></TD>
</TR>
</TABLE>
</CENTER>
<P align="left"><FONT size="2">Dear Sirs,
</FONT>
<P align="center"><FONT size="2"><U>Letter of Guarantee for Dagang Facility (<B><I>Guarantee</I></B>)</U>
</FONT>
<P align="left"><FONT size="2">We refer to the Farmout Agreement between Richfirst Holdings Limited (<B><I>CITIC</I></B>),
Ivanhoe Energy Inc. (<B><I>Ivanhoe</I></B>), Pan-China Resources Ltd (<B><I>Pan-China</I></B>) and Sunwing
Energy Ltd dated 18 January 2004 (the <B><I>FOA</I></B>).
</FONT>
<P align="left"><FONT size="2">The FOA provides for CITIC to acquire a 40% interest in the Contractor&#146;s Rights
and Obligations (the <B><I>CITIC Interest</I></B>), being a 40% working interest in the
Dagang oil project operated by Ivanhoe&#146;s ultimate wholly-owned subsidiary
company, Pan-China under the Petroleum Contract. Subject to the satisfaction of
the conditions precedent in clause 4.2 of the FOA (the <B><I>Conditions Precedent</I></B>),
which include obtaining necessary PRC Governmental Authority approvals in
relation to the FOA, CITIC will pay to Pan-China US$20&nbsp;million in consideration
for the CITIC Interest (the <B><I>Payment</I></B>).
</FONT>
<P align="left"><FONT size="2">Pan-China has requested and CITIC has agreed that, prior to the satisfaction of
the Conditions Precedent, CITIC make available financial accommodation to
Pan-China of up to US$10&nbsp;million (the <B><I>Principal</I></B>) under the loan agreement on or
before the date of this Guarantee (the <B><I>Loan Agreement</I></B>). Under the terms of the
Loan Agreement, CITIC may elect to apply the Principal outstanding on the date
of Closing by way of set-off against the Payment under the FOA.
</FONT>
<P align="left"><FONT size="2">For value (including, at our request, your providing of continuing credit to
Pan-China or not taking immediate action to enforce Pan-China&#146;s obligations to
you), we the undersigned, jointly and severally guarantee the due and punctual
performance of all Pan-China&#146;s obligations and payment of all amounts owing
from time to time under the Loan Agreement (the <B><I>Guaranteed Obligations</I></B>.)
</FONT>
<P align="left"><FONT size="2">If for any reason (for example, but without limitation, lack of capacity or
authority, Administration (as defined below) illegality, or inadequate or
improper execution) you have limited or no legal right to enforce against
Pan-China, or Pan-China is not bound by the Loan Agreement , any Guaranteed
Obligations or what would otherwise have been Guaranteed Obligations, we will
indemnify you and pay you the amount you would have been entitled to recover
but for those circumstances.
</FONT>
<P align="center"><FONT size="2">&nbsp;</FONT>
<!-- PAGEBREAK -->
<P><HR noshade><P>
<H5 align="left" style="page-break-before:always">&nbsp;</H5><P>
<P align="left"><FONT size="2">This Guarantee is an unconditional, joint and several, continuing guarantee and
indemnity and a principal and independent obligation. Our liability and your
rights are not affected by anything which but for this paragraph might release
or limit them wholly or partly. This includes (for example but without
limitation) the following:
</FONT>
<P>
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR valign="top">
    <TD width="1%" align="left" nowrap><FONT size="2">(i)</FONT></TD>
    <TD width="3%"><FONT size="2">&nbsp;</FONT></TD>
    <TD width="96%"><FONT size="2">your failing to enforce, or varying or wholly or partially releasing the
Guaranteed Obligations or any security or other guarantee or other
arrangement, or giving any time to pay, waiver or other concessions;</FONT></TD>
</TR>
<TR>
    <TD><FONT size="2">&nbsp;</FONT></TD>
</TR>
<TR valign="top">
    <TD width="1%" align="left" nowrap><FONT size="2">(ii)</FONT></TD>
    <TD width="3%"><FONT size="2">&nbsp;</FONT></TD>
    <TD width="96%"><FONT size="2">your failing to take any security for the Guaranteed Obligations or
waiving any condition precedent;</FONT></TD>
</TR>
<TR>
    <TD><FONT size="2">&nbsp;</FONT></TD>
</TR>
<TR valign="top">
    <TD width="1%" align="left" nowrap><FONT size="2">(iii)</FONT></TD>
    <TD width="3%"><FONT size="2">&nbsp;</FONT></TD>
    <TD width="96%"><FONT size="2">any change in the nature, membership or constitution of Pan-China or
anyone else; or</FONT></TD>
</TR>
<TR>
    <TD><FONT size="2">&nbsp;</FONT></TD>
</TR>
<TR valign="top">
    <TD width="1%" align="left" nowrap><FONT size="2">(iv)</FONT></TD>
    <TD width="3%"><FONT size="2">&nbsp;</FONT></TD>
    <TD width="96%"><FONT size="2">Pan-China or anyone else entering into any <B><I>Administration </I></B>(which includes
bankruptcy,
receivership, winding-up or any other form of administration).</FONT></TD>
</TR>
</TABLE>
<P align="left"><FONT size="2">We will make all payments under this Guarantee when you demand them, without
deducting any amounts we may claim from you. We will pay in the currency
demanded. If we fail to do so we will indemnify you in respect of any exchange
loss. We will make all payments free of any taxes or withholdings. If either of
us has to make such a deduction, the amount that must be paid is to be
increased so you receive the same amount you would have received had no
deduction been made. A written statement by one of your authorised
representatives as to what is due under this Guarantee is sufficient evidence
unless it is proved wrong.
</FONT>
<P align="left"><FONT size="2">We will pay on demand interest on all amounts payable under this Guarantee at
the applicable rate for payment of interest on Principal under the Loan
Agreement from the date of your demand under this Guarantee until payment;
</FONT>
<P align="left"><FONT size="2">Any money paid to you to reduce Pan-China&#146;s debt to you may be used to pay off
any part of Pan-China&#146;s debts which you choose. If either of us have any money
in any account with you, you may use it to pay money which we owe to you under
this Guarantee, but you need not do so.
</FONT>
<P align="left"><FONT size="2">If Pan-China or anyone else enters into Administration and you receive any
money as a result of making a claim or for any other reason, you may set that
money aside and not use it to pay the Guaranteed Obligations until you have
received enough to pay all of the Guaranteed Obligations. Until that happens we
are each fully liable for the Guaranteed Obligations as if you had not received
the money.
</FONT>
<P align="left"><FONT size="2">If for any reason (for example a law about Administration, trusts, or
directors&#146; duties) you have to refund or give up any money which you recover in
relation to the Guaranteed Obligations, we owe you all money which we would
have owed had the amount refunded or given up never been paid or received. We
will do everything we can to restore to you any rights which you had before you
received the money you later had to refund or give up.
</FONT>
<P align="center"><FONT size="2">&nbsp;</FONT>
<!-- PAGEBREAK -->
<P><HR noshade><P>
<H5 align="left" style="page-break-before:always">&nbsp;</H5><P>
<P align="left"><FONT size="2">This Guarantee is governed by the laws of Hong Kong. We accept the
non-exclusive jurisdiction of the courts having jurisdiction there.
</FONT>
<P align="left"><FONT size="2">We confirm that this Guarantee has been properly authorised by all internal
rules and procedures and laws binding on us and is issued for our corporate
benefit and does not conflict with any agreement, rule or law to which we are
subject.
</FONT>
<P align="left"><FONT size="2">This Guarantee may be signed in any number of counterparts. All counterparts
together will be taken to constitute one instrument.
</FONT>
<P align="left"><FONT size="2">Definitions defined in the Loan Agreement apply in this Guarantee unless the
context requires otherwise or the relevant term is defined in this Guarantee.
</FONT>
<P align="center"><FONT size="2">&nbsp;</FONT>
<!-- PAGEBREAK -->
<P><HR noshade><P>
<H5 align="left" style="page-break-before:always">&nbsp;</H5><P>
<P align="left"><FONT size="2">Yours faithfully
</FONT>
<P align="left"><FONT size="2">&nbsp;
</FONT>
<P align="left"><FONT size="2">&nbsp;
</FONT>
<P align="left"><FONT size="2"><B>IVANHOE ENERGY INC</B>
</FONT>
<P align="left"><FONT size="2"><I>&#147;Patrick Chua"</I>
<HR align="left" size="1" width="30%" noshade>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorised
Signatory
</FONT>
<P align="left"><FONT size="2"><B>Dated:</B>
</FONT>
<P align="left"><FONT size="2">&nbsp;
</FONT>
<P align="left"><FONT size="2">&nbsp;
</FONT>
<P align="left"><FONT size="2"><B>SUNWING ENERGY LTD.</B>
</FONT>
<P align="left"><FONT size="2"><I>&#147;Patrick Chua"</I>
<HR align="left" size="1" width="30%" noshade>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorised
Signatory
</FONT>
<P align="left"><FONT size="2"><B>Dated:</B>
</FONT>

<P align="center"><FONT size="2">&nbsp;</FONT>



</BODY>
</HTML>

</TEXT>
</DOCUMENT>
