[O:1]=[C:2]1[N:7]2[CH:8]=[C:9]([C:12]([O:14]CC)=[O:13])[CH:10]=[CH:11][C:6]2=[N:5][C:4]2[CH2:17][CH2:18][S:19][C:3]1=2>Cl>[O:1]=[C:2]1[N:7]2[CH:8]=[C:9]([C:12]([OH:14])=[O:13])[CH:10]=[CH:11][C:6]2=[N:5][C:4]2[CH2:17][CH2:18][S:19][C:3]1=2A suspension of ethyl 3,10-dihydro-10-oxo-1H-pyrido[1,2-a]thieno[3,2-d]pyrimidine-7-carboxylate (5.0 g, 0.018 mol) in 2 N hydrochloric acid (60 ml) is refluxed for 3 hours. The reaction mixture is cooled in an ice-bath. The precipitate is filtered, washed with water, with acetone and dried to give the product (3.5 g.), mp 325° C. (dec).