Abstract:
The present invention relates to a process for preparation of erlotinib of Formula I or its pharmaceutically acceptable salt thereof. The present invention also relates to process for the preparation of erlotinib trifluoroacetate. The present invention also relates to a nove-ICrystalline form of erlotinib trifluoroacetate designated as Form E and process for its preparation. The present invention further relates to process for the preparation of erlotinib hydrochloride from erlotinib trifluoroacetate.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates to a process for the preparation of erlotinib of Formula I or its pharmaceutically acceptable salt thereof. The present invention relates to the process for the preparation of erlotinib trifluoroacetate. The present invention also relates to a novel crystalline form of erlotinib trifluoroacetate designated as Form E and process for its preparation. The present invention further relates to process for the preparation of erlotinib hydrochloride from erlotinib trifluoroacetate. 
       BACKGROUND OF THE INVENTION 
       [0002]    Erlotinib of Formula I, chemically N-(3-ethynylphenyl)-6,7-bis(2-methoxyethoxy)-4-quinazolinamine, is indicated for the treatment of patients with locally advanced or metastatic non-small cell lung cancer after failure of at least one prior chemotherapy regimen, and in combination with gemcitabine is indicated for the first-line treatment of patients with locally advanced, unresectable or metastatic pancreatic cancer. 
         [0000]    
       
                 
         
             
             
         
       
     
         [0003]    Erlotinib is administered as its hydrochloride salt and is currently marketed as TARCEVA® (erlotinib) tablets. Erlotinib hydrochloride has the molecular formula C 22 H 23 N 3 O 4 .HCl and a molecular weight of 429.90. It is very slightly soluble in water, slightly soluble in methanol and practically insoluble in acetonitrile, acetone, ethyl acetate and hexane. 
         [0004]    European Patent No. EP 0 817 775 (herein after “the &#39;775 patent”) provides a process for the preparation of erlotinib, which involves adding 3-ethynylaniline and 4-chloro-6,7-bis(2-methoxyethoxy) quinazoline in isopropanol containing pyridine, and then refluxing the mixture for 4 hours under the atmosphere of dry nitrogen. The solvent is removed and residue is extracted in 10% methanol in chloroform and saturated aqueous sodium bicarbonate. N-(3-ethynylphenyl)-6,7-bis(2-methoxyethoxy)-4-quinazolinamine base is separated chromatographically and converted to the hydrochloride salt in a solvent, such as, chloroform using hydrochloric acid. Though the &#39;775 patent mentions few erlotinib acid-addition salt, for example, erlotinib salt with an inorganic or organic acid, such as, hydrochloric, hydrobromic, sulphuric, phosphoric, methanesulfonic, benzenesulfonic, trifluoroacetic, citric, lactic or maleic acid, it only exemplifies the process for the preparation of erlotinib hydrochloride. 
         [0005]    European Patent No. EP 1 044 969 provides a process for preparing N-(3-ethynylphenyl)-6,7-bis(2-methoxyethoxy)quinazolin-4-amine which involves stirring 4-[3-[[6,7-bis(2-methoxyethoxy)-4-quinazolinyl]amino]phenyl]-2-methyl-3-butyn-2-ol with anhydrous sodium hydroxide and 2-methoxyethanol and heating at reflux for 47 hours. The reaction mixture is cooled to 20° C. to 25° C. and concentrated hydrochloric acid is added to it. The resulting mixture is granulated at 20° C. to 25° C. to crystallize the product. 
         [0006]    PCT Publication No. WO 2008/122776 A2 (herein after “the WO &#39;776 application”) provides a process for the preparation of erlotinib salts, such as, erlotinib hydrochloride, erlotinib sulphate, erlotinib tosylate and erlotinib oxalate by reacting 4-halo-6,7-bis(2-methoxyethoxy)quinazoline with 3-aminophenyl acetylene or an acid salt thereof under acidic conditions to give corresponding acid salt of erlotinib. 
         [0007]    PCT Publication WO 2007/138612 provides a process for preparation of N-(3-ethynylphenyl)-6,7-bis(2-methoxyethoxy)-4-quinazolinamine hydrochloride which involves reacting 3,4-dihydroxy benzaldehyde with substituted ethylmethyl ether in the presence of an inert solvent and base to obtain 3,4-bis(2-methoxyethoxy)benzaldehyde. The 3,4-bis(2-methoxyethoxy)benzaldehyde is converted to 3,4-bis(2-methoxyethoxy)benzaldoxime in the presence of a base and organic solvent and is further dehydrated to 3,4-bis(2-methoxyethoxy)benzonitrile. The benzonitrile so obtained is nitrated to obtain 4,5-bis(2-methoxyethoxy)-2-nitrobenzonitrile which is further reduced to obtain 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile. N′-(3-ethynylphenyl)-N,N-dimethyl formamidine obtained by formylation of 3-ethynylaniline with N,N-dimethyl formamidine is coupled with 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile to obtain erlotinib free base which upon treatment with a polar solvent containing hydrochloric acid gives erlotinib hydrochloride. 
         [0008]    PCT Publication WO 2007/138613 provides a process for preparation of N-(3-ethynylphenyl)-6,7-bis(2-methoxyethoxy)-4-quinazolinamine hydrochloride which involves reacting 3,4-dihydroxy benzaldehyde with substituted ethylmethyl ether in the presence of an inert solvent and base to obtain 3,4-bis(2-methoxyethoxy)benzaldehyde. The 3,4-bis(2-methoxyethoxy)benzaldehyde is converted to 3,4-bis(2-methoxyethoxy)benzaldoxime in the presence of a base and organic solvent and is further dehydrated to 3,4-bis(2-methoxyethoxy)benzonitrile. The benzonitrile so obtained is nitrated to obtain 4,5-bis(2-methoxyethoxy)-2-nitrobenzonitrile which is further reduced to get 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile. 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile is formylated with N,N-dimethyl formamidine to obtain N′-[2-cyano-4,5-bis(2-methoxyethoxy)phenyl]-N,N-dimethylformamidine which is coupled with an 3-ethynylaniline to obtain erlotinib free base which on treatment with a polar solvent containing hydrochloric acid gives erlotinib hydrochloride. 
         [0009]      J. Chem. Soc., Perkin Trans.  2, 2000, 2498-2502 provides process for the preparation of erlotinib mesylate by treating erlotinib hydrochloride in water-ethylacetate with 50% aqueous sodium hydroxide solution at 50° C. and separating organic layer, filtering through short pad of celite, the resulting solution is warmed to 50° C. to redissolve precipitated free base, followed by treating the solution with methane sulphonic acid to give a white precipitate, which upon cooling for 4 hours gives erlotinib methane sulphonate. 
         [0010]    Several processes have been reported for the preparation of erlotinib or pharmaceutically acceptable salts and their polymorphs, for example, in U.S. Pat. Nos. 6,476,040 B1; 6,900,221 B1; 7,148,231 B2; U.S. Publication Nos. 2005/0130995; 2006/0154941; 2008/0167327 A1; 2008/0058355 A1; PCT Publication Nos. WO 99/55683; WO 2001/034574; WO 2003/066602 A1; WO 2004/072049; WO 2007/060691; WO 2008/000418 A2; WO 2008/012105; WO 2008/049645; WO 2008/102369; WO 2008/122776; WO 2009/002538; WO 2009/007984; WO 2009/024989; WO 2009/025873 A2; WO 2009/025876 A2. 
         [0011]    Since erlotinib constitutes an important therapeutic agent, additional and improved ways of preparing erlotinib and its salts are of value to pharmaceutical science. Thus, there is a need in the development of a consistent and novel process for preparing erlotinib and its salts which is commercially viable, safer for handling, less time consuming and of greater purity. 
         [0012]    The present inventors have found a process for the preparation of erlotinib or its pharmaceutically acceptable salt thereof, which involves preparing erlotinib or its pharmaceutically acceptable salt thereof directly from 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile and avoiding the usage of corrosive chemicals, such as, phosphorus oxychloride/thionyl chloride. The present inventors also found a process for the preparation of erlotinib trifluoroacetate. 
         [0013]    The present inventors have also found that erlotinib hydrochloride can be easily prepared in high purity directly from erlotinib trifluoroacetate without the formation of erlotinib base. The present inventors have also prepared erlotinib trifluoroacetate in a novel polymorphic form, designated as Form E. The novel polymorphic Form E of erlotinib trifluoroacetate of the present invention is suitable for preparing pharmaceutical compositions comprising erlotinib trifluoroacetate. 
       SUMMARY OF THE INVENTION 
       [0014]    In one general aspect there is provided a process for preparing erlotinib of Formula I or its pharmaceutically acceptable salts thereof. 
         [0000]    
       
                 
         
             
             
         
       
     
         [0000]    The process includes treating 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile of Formula I, 
         [0000]    
       
                 
         
             
             
         
       
     
         [0000]    with 3-ethynyl aniline of Formula III 
         [0000]    
       
                 
         
             
             
         
       
     
         [0000]    and a compound of Formula IV 
         [0000]      HC(OR) 3   Formula IV
 
         [0000]    wherein R is alkyl group. 
         [0015]    Embodiments of the present aspect may include one or more of the following features. For example, the process may further include the addition of an acid catalyst selected from the group comprising of acetic acid, trifluoroacetic acid, formic acid. The process may also include heating the mixture obtained to reflux at a temperature in the range of 30° C. to 135° C. 
         [0016]    The alkyl group of compound of Formula IV may include 1 to 6 carbon atoms. For example, the compound of Formula IV may be triethyl orthoformate. In addition, the pharmaceutically acceptable salts of erlotinib may be prepared by treating erlotinib with an acid in a suitable solvent. 
         [0017]    In another general aspect there is provided a process for the preparation of erlotinib trifluoroacetate. The process includes: 
         [0018]    a) treating erlotinib base with trifluoroacetic acid; and 
         [0019]    b) isolating erlotinib trifluoroacetate. 
         [0020]    Embodiments of this aspect may include one or more of the following features. For example, the erlotinib base may be dissolved or slurried in an organic solvent or obtaining an existing solution from a previous processing step of erlotinib base in an organic solvent. 
         [0021]    The treatment of erlotinib base with trifluoroacetic acid may be carried at a temperature of about 20° C. to about reflux. Isolation of the erlotinib trifluoroacetate may be carried out by filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0022]    In another general aspect there is provided a process for the preparation of erlotinib trifluoroacetate. The process includes:
       a) mixing of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile, 3-ethynyl aniline and Compound of Formula IV, wherein R is alkyl group;       
 
         [0000]      HC(OR) 3   Formula IV
       b) contacting the mixture obtained in step a) with trifluoroacetic acid; and   c) isolating erlotinib trifluoroacetate.       
 
         [0026]    Embodiments of this aspect may include one or more of the following features. For example, the alkyl group of compound of Formula IV may be 1 to 6 carbon atoms. The Compound of Formula IV may be triethyl orthoformate. 
         [0027]    The trifluoroacetic acid may be added drop-wise at a temperature of about 20° C. to about reflux and Step b) may further include refluxing for a period of about 1 hour to about 48 hours. 
         [0028]    Isolation of the erlotinib trifluoroacetate may be carried out by filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0029]    In yet another general aspect there is provided erlotinib trifluoroacetate Form E having typical XRPD pattern as depicted in  FIG. 1 . 
         [0030]    In another general aspect there is provided erlotinib trifluoroacetate Form E characterized by a powder XRD pattern, which includes peaks at about 6.43±0.2θ, 16.73±0.2θ, 22.55±0.2θ, 25.72±0.2θ, and 26.25±0.2θ. 
         [0031]    Embodiments of this aspect may include one or more of the following features. For example, the erlotinib trifluoroacetate Form E may further include 2θ values at 6.00±0.2θ, 7.92±0.2θ, 12.94±0.2θ, 15.74±0.2θ, 20.52±0.2θ, 20.90±0.2θ, 21.43±0.2θ, 23.54±0.2θ, 25.25±0.2θ, 26.50±0.2θ, and 26.75±0.2θ. 
         [0032]    In another general aspect there is provided a process for the preparation of erlotinib trifluoroacetate Form E. The process includes: 
         [0033]    a) treating erlotinib base with trifluoroacetic acid; and 
         [0034]    b) isolating erlotinib trifluoroacetate. 
         [0035]    Embodiments of this aspect may include one or more of the following features. For example, the erlotinib base may be dissolved or slurried in an organic solvent: In addition, the treatment of erlotinib base with trifluoroacetic acid may be carried out at a temperature of about 20° C. to about reflux. 
         [0036]    Isolation of the erlotinib trifluoroacetate may be carried out by filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0037]    In yet another general aspect there is provided a process for the preparation of erlotinib trifluoroacetate Form E. The process includes:
       a) mixing 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile, 3-ethynyl aniline and compound of Formula IV, wherein R is alkyl group;       
 
         [0000]      HC(OR) 3   Formula IV
       b) contacting the mixture obtained in step a) with trifluoroacetic acid; and   c) isolating erlotinib trifluoroacetate.       
 
         [0041]    Embodiments of this aspect may include one or more of the following features. For example, the alkyl group of compound of Formula IV comprises 1 to 6 carbon atoms. The compound of Formula IV may be triethyl orthoformate. 
         [0042]    The trifluoroacetic acid may be added drop-wise at a temperature of about 20° C. to about reflux. Step b) may further include refluxing for a period of about 1 hour to about 48 hours. Isolation of the erlotinib trifluoroacetate Form E may be carried out by filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0043]    In a final general aspect there is provided an improved process for the preparation of erlotinib hydrochloride. The process includes: 
         [0044]    a) treating erlotinib trifluoroacetate with hydrochloric acid; and 
         [0045]    b) isolating erlotinib hydrochloride. 
         [0046]    Embodiments of this aspect may include one or more of the following features. For example, Step a) may further include treating erlotinib trifluoroacetate in a solvent selected from alcohols, water or mixture thereof. The hydrochloric acid may be hydrochloride gas or hydrochloric acid solution. 
         [0047]    Step a) may be carried out at a temperature of about 20° C. to about 40° C. and isolation of theerlotinib hydrochloride may be carried out by filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
     
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0048]    One aspect of the present invention provides a process for preparing erlotinib or its pharmaceutically acceptable salt thereof which comprises treating 2-amino-4,5-bis (2-methoxyethoxy)benzonitrile of Formula II, 
         [0000]    
       
                 
         
             
             
         
       
     
         [0000]    with 3-ethynyl aniline of Formula III 
         [0000]    
       
                 
         
             
             
         
       
     
       and a Compound of Formula IV 
       [0049]      HC(OR) 3   Formula IV
 
         [0000]    wherein R is alkyl group. 
         [0050]    The term “alkyl”, as used herein, unless otherwise indicated, means an aliphatic hydrocarbon group which may be straight or branched and comprising about 1 to about 6 carbon atoms in the chain. Branched means that one or more lower alkyl groups, such as, methyl, ethyl or propyl, are attached to a linear alkyl chain. 
         [0051]    The 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile may be obtained by any of the methods known in the art including those described in WO 2007/138612. 
         [0052]    The 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile may be taken as a solution. 
         [0053]    The solution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile may be obtained by dissolving 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile in an organic solvent. 
         [0054]    There are no specific limitations with respect to the organic solvent employed in the reaction, so far as the solvent does not participate in the reaction. The solvent used for the dissolution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile include alcohols, such as, methanol, ethanol, n-propanol, 2-propanol, n-butanol, 2-butanol; aromatic hydrocarbon, such as, benzene, toluene, and xylene, substituted toluenes, substituted xylenes; halogenated hydrocarbons, such as, dichloromethane, dichloroethane, trichloroethane, tetrachloroethane, dichloropropane, chloroform, carbon tetrachloride; ethers, such as, diethyl ether, diisopropyl ether, tert-butyl methyl ether, dioxane, tetrahydrofuran; ketones, such as, acetone, methyl ethyl ketone, methyl isobutyl ketone; alkyl acetate, such as, ethyl acetate, n-propyl acetate, isopropyl acetate, n-butyl acetate, isobutyl acetate; alkyl nitriles, such as, acetonitrile, propionitrile; amides, such as, N,N-dimethylformamide; dimethyl sulfoxide. Preferred are alcohols. More preferred is 2-propanol. The organic solvents may be employed singly or in combination. 
         [0055]    The amount of organic solvent employed in the reaction depends on the homogeneity and stirring conditions of the reaction mixture. 
         [0056]    The solution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile may be added to a solution of 3-ethynyl aniline and a compound of Formula IV, 
         [0000]      HC(OR) 3   Formula IV
 
         [0000]    wherein R is alkyl group. 
         [0057]    The solution of 3-ethynyl aniline and a compound of Formula IV, 
         [0000]      HC(OR) 3   Formula IV
 
         [0000]    wherein R is alkyl group may further contain an acid catalyst, such as, acetic acid, trifluoroacetic acid, formic acid. 
         [0058]    The mixture may also be obtained by adding 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile; 3-ethynyl aniline; a compound of Formula IV and an acid catalyst in optional order of succession. 
         [0059]    The mixture obtained may be stirred and after stirring may be heated to reflux at a temperature in the range of 30° C. to 135° C. for about 3 hours to about 24 hours. The reaction mass may be cooled to room temperature and the pH may be adjusted to about 3.0 to about 4.0 with a suitable acid in a suitable solvent. 
         [0060]    Pharmaceutically acceptable salts of erlotinib may be prepared by treating erlotinib base with a corresponding acid in a suitable solvent. Suitable pharmaceutically acceptable salts of erlotinib include salts of erlotinib base with acetic acid, benzoic acid, fumaric acid, benzoic acid, maleic acid, citric acid, tartaric acid, methanesulfonic acid, ethanesulfonic acid, benzenesulfonic acid, p-toluene sulfonic acid, hydrochloric acid, hydrobromic acid and sulfuric acid. 
         [0061]    Suitable solvent include alcohols, such as, methanol, ethanol, n-propanol, 2-propanol, n-butanol, 2-butanol; aromatic hydrocarbon, such, as benzene, toluene, and xylene, substituted toluenes, substituted xylenes; halogenated hydrocarbons, such as, dichloromethane, dichloroethane, trichloroethane, tetrachloroethane, dichloropropane, chloroform, carbon tetrachloride; ethers, such as, diethyl ether, diisopropyl ether, tert-butyl methyl ether, dioxane, tetrahydrofuran; ketones, such as, acetone, methyl ethyl ketone, methyl isobutyl ketone; alkyl acetate, such as, ethyl acetate, n-propyl acetate, isopropyl acetate, n-butyl acetate, isobutyl acetate; alkyl nitriles, such as, acetonitrile, propionitrile; amides, such as, N,N-dimethylformamide; dimethyl sulfoxide. Preferred are alcohols. More preferred is 2-propanol. The organic solvents may be employed singly or in combination. 
         [0062]    Another aspect of the present invention provides a process for the preparation of erlotinib trifluoroacetate which comprises: 
         [0063]    a) treating erlotinib base with trifluoroacetic acid; and 
         [0064]    b) isolating erlotinib trifluoroacetate. 
         [0065]    Erlotinib base prepared by any method known in the art can be used as starting material. Step a) includes dissolving or slurring erlotinib in an organic solvent or obtaining an existing solution from a previous processing step of erlotinib in an organic solvent. 
         [0066]    Trifluoro acetic acid may be added to erlotinib free base step-wise in about 2-3 equal portions. Trifluoro acetic acid may be also added drop-wise at a temperature of about 20° C. to about reflux, preferably at about 25° C. to about 30° C., followed by stirring the reaction mass for about 10 minutes to about 90 minutes preferably for about 20 minutes to about 30 minutes, at a temperature of about 20° C. to about 40° C., preferably at about 25° C. to about 30° C. The mixture obtained is refluxed for a period of about 1 hour to about 48 hours preferably for a period of 24 hours. 
         [0067]    Step b) of isolating erlotinib trifluoroacetate may be carried out by any method known in the art, such as, filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0068]    Preferably, the obtained erlotinib trifluoroacetate salt is further dried at an elevated temperature, preferably, under reduced pressure (less than 1 atmosphere, more preferably, about 10 mbar to about 100 mbar, and, most preferably, about 10 mbar to about 25 mbar). Preferably, the drying is carried out at a temperature between about 35° C. and about 60° C., more preferably, between about 40° C. and about 45° C. Preferably the drying takes place over a period of about 8 hours to about 36 hours, more preferably, about 10 hours to about 24 hours, and most preferably, about 18 hours. 
         [0069]    Another aspect of the present invention provides a process for the preparation of erlotinib trifluoroacetate which comprises:
       a) providing a mixture of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile, 3-ethynyl aniline and a compound of Formula IV, wherein R is alkyl group;       
 
         [0000]      HC(OR) 3   Formula IV
       b) contacting the mixture obtained in step a) with trifluoroacetic acid; and   c) isolating erlotinib trifluoroacetate.       
 
         [0073]    The term “alkyl”, as used herein, unless otherwise indicated, means an aliphatic hydrocarbon group which may be straight or branched and comprising about 1 to about 6 carbon atoms in the chain. Branched means that one or more lower alkyl groups, such as, methyl, ethyl or propyl, are attached to a linear alkyl chain. 
         [0074]    The 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile may be obtained by any of the methods known in the art including those described in WO 2007/138612. 
         [0075]    Step a) of providing a mixture of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile, 3-ethynyl aniline and compound of Formula IV, includes dissolving 2-amino-4,5-bis (2-methoxyethoxy)benzonitrile in an organic solvent to form a solution and then adding 3-ethynyl aniline and a compound of Formula IV to the obtained solution. 
         [0076]    3-ethynyl aniline and a compound of Formula IV may be added to the solution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile in an organic solvent at a temperature of about 20° C. to about 75° C., preferably at about 20° C. to about 60° C., more preferably at about 20° C. to about 40° C. 
         [0077]    The mixture of step a) may also be obtained by adding 2-amino-4,5-bis (2-methoxyethoxy)benzonitrile; 3-ethynyl aniline; a Compound of Formula IV in a suitable solvent in any order of succession. 
         [0078]    There are no specific limitations with respect to the organic solvent employed, so far as the solvent does not participate in the reaction. 
         [0079]    Suitable solvents used for the dissolution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile include alcohols, such as, methanol, ethanol, n-propanol, 2-propanol, n-butanol, 2-butanol; aromatic hydrocarbon, such as, benzene, toluene, and xylene, substituted toluenes, substituted xylenes; halogenated hydrocarbons, such as, dichloromethane, dichloroethane, trichloroethane, tetrachloroethane, dichloropropane, chloroform, carbon tetrachloride; ethers, such as, diethyl ether, diisopropyl ether, tert-butyl methyl ether, dioxane, tetrahydrofuran; ketones, such as, acetone, methyl ethyl ketone, methyl isobutyl ketone; alkyl acetate, such as, ethyl acetate, n-propyl acetate, isopropyl acetate, n-butyl acetate, isobutyl acetate; alkyl nitriles, such as, acetonitrile, propionitrile; amides, such as, N,N-dimethylformamide; dimethyl sulfoxide. Preferred are alcohols. More preferred is methanol, ethanol or 2-propanol. The organic solvents may be employed singly or in combination. 
         [0080]    Step b) involves contacting the mixture obtained in step a) with trifluoroacetic acid. Trifluoro acetic acid may be added step-wise in about 2 to 3 equal portions to the mixture obtained in step a). 
         [0081]    Trifluoro acetic acid may be also added drop-wise at a temperature of about 20° C. to about reflux, preferably at about 25° C. to about 30° C., followed by stirring the reaction mass for about 10 minutes to about 90 minutes preferably for about 20 minutes to about 30 minutes at a temperature of about 20° C. to about 40° C., preferably at about 25° C. to about 30° C. 
         [0082]    The mixture obtained in step b) is refluxed for a period of about 1 hour to about 48 hours preferably for a period of 24 hours. 
         [0083]    Step c) of isolating erlotinib trifluoroacetate may be carried out by any method known in the art, such as, filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0084]    Preferably, the obtained erlotinib trifluoroacetate salt is further dried at an elevated temperature, preferably, under reduced pressure (less than 1 atmosphere, more preferably, about 10 mbar to about 100 mbar, and, most preferably, about 10 mbar to about 25 mbar). Preferably, the drying is carried out at a temperature between about 35° C. and about 60° C., more preferably, between about 40° C. and about 45° C. Preferably the drying takes place over a period of about 8 hours to about 36 hours, more preferably, about 10 hours to about 24 hours, and, most preferably, about 18 hours. 
         [0085]    Yet another aspect of the present invention provides a novel polymorphic Form E of erlotinib trifluoroacetate having typical XRPD pattern as depicted in  FIG. 1  of the accompanied drawing. The XRPD of Form E of erlotinib trifluoroacetate exhibits characteristic 2θ values at 6.43±0.2 θ, 16.73±0.2θ, 22.55±0.2θ, 25.72±0.2θ, 26.25±0.2 Form E of erlotinib trifluoroacetate may be further characterized by XRPD pattern comprising 20 values at 6.00±0.2θ, 7.92±0.2θ, 12.94±0.2θ, 15.74±0.2θ, 20.52±0.2θ, 20.90±0.2θ, 21.43±0.2θ, 23.54±0.2θ, 25.25±0.2θ, 26.50±0.2θ, 26.75±0.2θ. The novel polymorphic Form E of erlotinib trifluoroacetate has the X-ray diffractogram which shows characteristic peaks expressed as interplanar distance at approximately 13.72, 5.29, 3.94, 3.46, 3.39 Å. Form E of erlotinib trifluoroacetate may be further characterized by peaks expressed as interplanar distance at approximately 14.71, 11.15, 6.84, 5.62, 4.32, 4.24, 4.14, 3.77, 3.52, 3.36, 3.33 Å. The novel polymorphic Form E of erlotinib trifluoroacetate has characteristic DSC thermogram as depicted in  FIG. 2  of the accompanied drawing. The DSC thermogram shows a characteristic peaks at about 79° C., at about 118° C., and at about 244° C. 
         [0086]    Another aspect, the invention provides a process for the preparation of Form E of erlotinib trifluoroacetate which comprises: 
         [0087]    a) treating erlotinib base with trifluoroacetic acid; and 
         [0088]    b) isolating Form E of erlotinib trifluoroacetate. 
         [0089]    Erlotinib base prepared by any method known in the art can be used as starting material. Step a) includes dissolving or slurring erlotinib in an organic solvent or obtaining an existing solution from a previous processing step of erlotinib in an organic solvent. 
         [0090]    Trifluoro acetic acid may be added to erlotinib free base step-wise in about 2 to 3 equal portions. Trifluoro acetic acid may be also added drop-wise at a temperature of about 20° C. to about reflux, preferably at about 25° C. to about 30° C., followed by stirring the reaction mass for about 10 minutes to about 90 minutes preferably for about 20 minutes to about 30 minutes at a temperature of about 20° C. to about 40° C., preferably at about 25° C. to about 30° C. 
         [0091]    The mixture obtained is refluxed for a period of about 1 hour to about 48 hours preferably for a period of 24 hours. 
         [0092]    Step b) of isolating erlotinib trifluoroacetate may be carried out by any method known in the art, such as, filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0093]    Preferably, the obtained erlotinib trifluoroacetate salt is further dried at elevated temperature, preferably, under reduced pressure (less than 1 atmosphere, more preferably, about 10 mbar to about 100 mbar, and, most preferably, about 10 mbar to about 25 mbar). Preferably, the drying is carried out at a temperature between about 35° C. and about 60° C., more preferably, between about 40° C. and about 45° C. Preferably the drying takes place over a period of about 8 hours to about 36 hours, more preferably, about 10 hours to about 24 hours, and, most preferably, about 18 hours. 
         [0094]    Another aspect, the invention provides a process for the preparation of Form E of erlotinib trifluoroacetate which comprises:
       a) providing a mixture of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile, 3-ethynyl aniline and compound of Formula IV, wherein R is alkyl group;       
 
         [0000]      HC(OR) 3   Formula IV
       b) contacting the mixture obtained in step a) with trifluoroacetic acid; and   c) isolating Form E of erlotinib trifluoroacetate.       
 
         [0098]    The term “alkyl” as used herein, unless otherwise indicated, means an aliphatic hydrocarbon group which may be straight or branched and comprising about 1 to about 6 carbon atoms in the chain. Branched means that one or more lower alkyl groups, such as, methyl, ethyl or propyl, are attached to a linear alkyl chain. 
         [0099]    2-amino-4,5-bis(2-methoxyethoxy)benzonitrile may be obtained by any of the methods known in the art including those described in WO 2007/138612. 
         [0100]    Step a) of providing a mixture of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile, 3-ethynyl aniline and compound of Formula IV, includes dissolving 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile in an organic solvent to form a solution and then adding 3-ethynyl aniline and a compound of Formula IV to the obtained solution. 
         [0101]    3-ethynyl aniline and a compound of Formula IV may be added to the solution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile in an organic solvent at a temperature of about 20° C. to about 75° C., preferably at about 20° C. to about 60° C., more preferably at about 20° C. to about 40° C. 
         [0102]    The mixture of step a) may also be obtained by adding 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile; 3-ethynyl aniline; a compound of Formula IV in a suitable solvent in any order of succession. 
         [0103]    There are no specific limitations with respect to the organic solvent employed, so far as the solvent does not participate in the reaction. 
         [0104]    Suitable solvent used for the dissolution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile include alcohols, such as, methanol, ethanol, n-propanol, 2-propanol, n-butanol, 2-butanol; aromatic hydrocarbon, such as, benzene, toluene, and xylene, substituted toluenes, substituted xylenes; halogenated hydrocarbons, such as, dichloromethane, dichloroethane, trichloroethane, tetrachloroethane, dichloropropane, chloroform, carbon tetrachloride; ethers, such as, diethyl ether, diisopropyl ether, tert-butyl methyl ether, dioxane, tetrahydrofuran; ketones, such as, acetone, methyl ethyl ketone, methyl isobutyl ketone; alkyl acetate, such as, ethyl acetate, n-propyl acetate, isopropyl acetate, n-butyl acetate, isobutyl acetate; alkyl nitriles, such as, acetonitrile, propionitrile; amides, such as, N,N-dimethylformamide; dimethyl sulfoxide. Preferred are alcohols. More preferred is methanol, ethanol or 2-propanol. The organic solvents may be employed singly or in combination. 
         [0105]    Step b) involves contacting the mixture obtained in step a) with trifluoroacetic acid. Trifluoro acetic acid may be added step-wise in about 2 to 3 equal portions to the mixture obtained in step a). Trifluoro acetic acid may be also added drop-wise at a temperature of about 20° C. to about reflux, preferably at about 25° C. to about 30° C., followed by stirring the reaction mass for about 10 minutes to about 90 minutes preferably for about 20 minutes to about 30 minutes at a temperature of about 20° C. to about 40° C., preferably at about 25° C. to about 30° C. 
         [0106]    The mixture obtained in step b) is refluxed for a period of about 1 hour to about 48 hours preferably for a period of 24 hours. 
         [0107]    Step c) of isolating form E of erlotinib trifluoroacetate may be carried out by any method known in the art, such as, filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
         [0108]    Preferably, the obtained erlotinib trifluoroacetate salt is further dried at an elevated temperature, preferably, under reduced pressure (less than 1 atmosphere, more preferably, about 10 mbar to about 100 mbar, and, most preferably, about 10 mbar to about 25 mbar). Preferably, the drying is carried out at a temperature between about 35° C. and about 60° C., more preferably, between about 40° C. and about 45° C. Preferably the drying takes place over a period of about 8 hours to about 36 hours, more preferably, about 10 hours to about 24 hours, and, most preferably, about 18 hours. 
         [0109]    Yet another aspect of the present invention provides a process for the preparation of erlotinib hydrochloride which comprises: 
         [0110]    a) treating erlotinib trifluoroacetate with hydrochloric acid; and 
         [0111]    b) isolating erlotinib hydrochloride. 
         [0112]    Step a) of treating erlotinib trifluoroacetate with hydrochloric acid includes treating erlotinib trifluoroacetate in a solvent selected from alcohols, water or mixture thereof, preferably methanol, ethanol, isopropanol, n-butanol, isobutanol, tert-butanol, water or mixtures thereof, more preferably isopropyl alcohol, water or mixture thereof at a temperature of about 20° C. to about 50° C. preferably at a temperature of about 25° C. to about 30° C. and treating the mixture with hydrochloric acid where in hydrochloric acid can be hydrochloride gas or hydrochloric acid solution at a temperature of about 20° C. to about 40° C., preferably at a temperature of about 25° C. to about 30° C. 
         [0113]    Step b) of isolating erlotinib hydrochloride may be carried out by any method known in the art, such as, filtration, solvent removal, layer separation, centrifugation, concentration, distillation, or a combination thereof. 
       DRAWINGS OF THE INVENTION 
       [0114]      FIG. 1  and  FIG. 1   a  depicts XRPD of Form E of crystalline erlotinib trifluoroacetate and the associated values, respectively. 
         [0115]      FIG. 2  depicts DSC of Form E of erlotinib trifluoroacetate. 
         [0116]      FIG. 3  depicts TGA of Form E of erlotinib trifluoroacetate. 
         [0117]    Powder XRD of the samples were determined by using X-Ray Difractometer, PANalytical X′ pert PRO. 
         [0118]    DSC thermograms were recorded using Perkin Elmer Diamond DSC, Sample weight: 3 mg to 7 mg, Temperature range: 50° C. to 300° C., Heating rate: 10° C./min, Nitrogen 50.0 mL/min, Number of holes in the crucible: 1. 
         [0119]    TGA thermograms were recorded using QA500, Waters TGA instrument, Sample weight: 10 mg to 50 mg, Temperature range: 0 to 300° C. 
         [0120]    While the present invention has been described in terms of its specific embodiments, certain modifications and equivalents will be apparent to those skilled in the art and are intended to be included within the scope of the present invention. 
       EXAMPLES 
     Example 1 
     Preparation of Erlotinib Hydrochloride 
       [0121]    To a solution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile (5.0 g) in isopropanol (25.0 ml) was added drop-wise a solution of triethyl orthoformate (4.0 g); 3-ethnylphenylamine (3.45 g) and acetic acid (0.2 ml). The mixture was stirred and heated at reflux for 4 hours. The reaction progress was monitored by TLC. After completion of the reaction, the reaction mass was cooled to room temperature and the pH was adjusted to 3.0 to 4.0 with isopropanolic hydrochloride (3.0 ml). The reaction mixture was stirred for 2 hours at room temperature. The solid was filtered, washed with isopropyl alcohol and dried on the air oven to obtain the titleCompound. 
       Yield: 3.0 g 
     Example 2 
     Preparation of Erlotinib Hydrochloride 
       [0122]    A solution of 2-amino-4,5-bis(2-methoxyethoxy)benzonitrile (1.0 g) in isopropanol (20 ml) was added dropwise to a solution of triethyl orthoformate (0.8 g); 3-ethnylphenylamine (0.69 g) and acetic acid (0.2 ml). This mixture was stirred and heated at reflux for 4 hours. The reaction progress was monitored by TLC. After completion of the reaction, the reaction mass was cooled to room temperature and the pH was adjusted to 3.0 to 4.0 with methanolic hydrochloride (1.0 ml). The reaction mixture was stirred for 2 hours at room temperature. The solid was filtered, washed with isopropyl alcohol and dried on the air oven to obtain the title compound. 
       Yield: 0.5 g 
     Example 3 
     Preparation of Erlotinib Trifluoroacetate 
       [0123]    2-Amino-4,5-bis(2-methoxyethoxy)benzonitrile (25 g) was charged into ethanol (350 ml) at 25° C. to 30° C. and stirred for 10 minutes to 15 minutes to get a clear solution. 3-ethynyl aniline (11.1 g) followed triethyl orthoformate (20.86 g) was charged into reaction mass at 25° C. to 30° C. Trifluoroacetic acid (3.8 ml) was added slowly drop-wise into the reaction mixture at 25° C. to 30° C. and stirred for 30 minutes at 25° C. to 30° C. Trifluoroacetic acid (3.8 ml) was added slowly drop wise to reaction mixture at 25° C. to 30° C. and stirred for 30 minutes at 25° C. to 30° C. Again, trifluoroacetic acid (3.8 ml) was added slowly drop wise to reaction mixture at 25° C. to 30° C. and stirred for 30 minutes at 25° C. to 30° C. The reaction mixture was refluxed for about 24 hours at 75° C. to 80° C. and Cooled to 25° C. to 30° C. Ethanol (˜150 ml) was recovered from the reaction mixture under vacuum at 55° C. to 60° C. The solution obtained was Cooled to 25° C. to 30° C. and stirred for about 18 hours at 25° C. to 30° C. The solid obtained was filtered, washed with ethanol (2×25 ml) and dried under vacuum for about 18 hours at 40° C. to 45° C. to give erlotinib trifluoroacetate. 
       Yield: 29.2 g 
     Purity: 97.35% 
     Example 4 
     Preparation of Erlotinib Hydrochloride from Erlotinib Trifluoroacetate 
       [0124]    Erlotinib trifluoroacetate salt (10 g) was charged into deionized water (DI water) (80 ml) at 25° C. to 30° C. 35% Concentrated hydrochloric acid (aqueous, 12 ml) was added slowly to reaction mixture at 25° C. to 30° C. and stirred for about 2 hours at 25° C. to 30° C. The solid obtained was filtered, washed with DI water (2×15 ml) and dried under vacuum for about 18 hours at 40° C. to 45° C. to give erlotinib hydrochloride. 
       Yield: 5.13 g 
     Example 5 
     Preparation of Erlotinib Hydrochloride from Erlotinib Trifluoroacetate 
       [0125]    Erlotinib trifluoroacetate salt (10 g) was charged in to isopropyl alcohol (60 ml) at 25° C. to 30° C. 7.5% isopropanolic hydrochloride (13 ml) was added slowly to the reaction mixture at 25° C. to 30° C. and stirred for about 2 hours at 25° C. to 30° C. The solid obtained was filtered, washed with DI water (2×15 ml), suck dried and dried under vacuum for about 18 hours at 40° C. to 45° C. to give erlotinib hydrochloride. 
         [0000]    Yield: 8.08 g