[NH2:1][C:2]1[C:3]2[CH:15]=[C:14]([CH3:16])[S:13][C:4]=2[NH:5][C:6]2[CH:12]=[CH:11][CH:10]=[CH:9][C:7]=2[N:8]=1.[CH3:17][N:18]1[CH2:23][CH2:22]N[CH2:20][CH2:19]1.C(O)C>O>[CH3:16][C:14]1[S:13][C:4]2[NH:5][C:6]3[CH:12]=[CH:11][CH:10]=[CH:9][C:7]=3[N:8]=[C:2]([N:1]3[CH2:22][CH2:23][N:18]([CH3:17])[CH2:19][CH2:20]3)[C:3]=2[CH:15]=14-Amino-2-methyl-10H-thieno-[2,3-b][1,5]benzodiazepine (5 g, 0.02 mol), N-methylpiperazine (12.5 mL, 2.5 vol) and ethanol (15 mL, 3 vol) were charged into a three-necked round bottom flask equipped with a reflux condenser, overhead stirrer, and thermometer. The reaction mixture was slowly heated to reflux (94° C.) under a nitrogen atmosphere and kept at this temperature overnight. The reaction mixture was cooled to below 50° C. and water (10 mL, 2 vol) was added to precipitate out the solid, which was isolated by filtration. The light yellow solid was washed twice with water (5 mL) and dried to furnish pure olanzapine in 72% yield (4.2 g).