[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:10](=[CH:11][C:12]=1[O:13][CH2:14][CH2:15][CH2:16][N:17]1[CH2:22][CH2:21][CH2:20][CH2:19][CH2:18]1)[N:9]=[CH:8][NH:7][C:6]2=O.CN(C=O)C.S(Cl)([Cl:31])=O>>[Cl:31][C:6]1[C:5]2[C:10](=[CH:11][C:12]([O:13][CH2:14][CH2:15][CH2:16][N:17]3[CH2:22][CH2:21][CH2:20][CH2:19][CH2:18]3)=[C:3]([O:2][CH3:1])[CH:4]=2)[N:9]=[CH:8][N:7]=1A solution of 6-methoxy-7-(3-piperidinopropoxy)-3,4-dihydroquinazolin-4-one (1.5 g, 4.7 mmol) in thionyl chloride (15 ml) containing DMF (1.5 ml) was heated at reflux for 3 hours. After cooling, the volatiles were removed under vacuum. The residue was azeotroped with toluene. The solid was partitioned between methylene chloride and sodium hydrogen carbonate. The aqueous layer was adjusted to pH10 with 6M aqueous sodium hydroxide. The organic layer was separated, washed with brine, dried (MgSO4) and the volatiles were removed by evaporation. The residue was purified by column chromatography to give 4-chloro-6-methoxy-7-(3-piperidinopropoxy)quinazoline (1.21 g, 76%).