[O:1]=[C:2]1[N:7]2[CH:8]=[C:9]([C:12]([NH2:14])=O)[CH:10]=[CH:11][C:6]2=[N:5][C:4]2[CH2:15][CH2:16][S:17][C:3]1=2.C1(C)C=CC(S(Cl)(=O)=O)=CC=1.N1C=CC=CC=1>CN(C)C=O.O>[O:1]=[C:2]1[N:7]2[CH:8]=[C:9]([C:12]#[N:14])[CH:10]=[CH:11][C:6]2=[N:5][C:4]2[CH2:15][CH2:16][S:17][C:3]1=2A mixture of 3,10-dihydro-10-oxo-1H-pyrido[1,2-a]thieno[3,2-d]pyrimidine-7-carboxamide (1.7 g., 0.007 mol), p-toluene-sulfonyl chloride (2.0 g., 0.01 mol) and pyridine (1.7 ml, 0.021 mol) in dimethylformamide (30 ml) is heated at 100° C. under nitrogen for 40 minutes. The reaction mixture is cooled and diluted with water (15 ml). The resulting aqueous solution is stirred for one hour. The precipitate is filtered off, washed with water and sucked dry. Recrystallization from methanol gives the product (1.1 g.), mp 261°-263° C.