General procedure: N-(3-chloro-4-fluorophenyl)-7-fluoro-6-nitroquinazolin-4-amine (15 g, 44.56 mmol) was dissolved in methanol (150 mL) and 50% aqueous potassium hydroxide solution (5 g, 89 mmol) was added. The reaction mixture was stirred at room temperature and then heated to 70 °C and stirred continuously for 2 hours. After completion of the reaction, the mixture was cooled to room temperature and extracted with ethyl acetate. The organic layers were combined, washed with water and dried over anhydrous sodium sulfate. The organic phase was concentrated under reduced pressure to afford N-(3-chloro-4-fluorophenyl)-7-methoxy-6-nitroquinazolin-4-amine (20 g, 96.7% yield). The product was characterized by 1H NMR (400 MHz, DMSO-d6): δ 10.16 (s, 1H), 9.21 (s, 1H), 8.67 (s, 1H), 8.15 (dd, J = 2.4,6.8 Hz, 1H), 7.79-7.81 (m, 1H), 7.48 (t, J = 7.2 Hz, 2H), 4.07 (s, 3H ).