Cl[C:2]1[C:7]([C:8]([O:10][CH2:11][CH3:12])=[O:9])=[CH:6][N:5]=[C:4]([Cl:13])[CH:3]=1.[S:14]1[CH:18]=[CH:17][CH:16]=[C:15]1[CH2:19][NH2:20].CCN(C(C)C)C(C)C.O>CN1C(=O)CCC1.CCOC(C)=O>[Cl:13][C:4]1[CH:3]=[C:2]([NH:20][CH2:19][C:15]2[S:14][CH:18]=[CH:17][CH:16]=2)[C:7]([C:8]([O:10][CH2:11][CH3:12])=[O:9])=[CH:6][N:5]=1A solution of ethyl 4,6-dichloronicotinate (1.14 g, 5.18 mmol), 2-thiophenemethylamine (0.530 mL, 5.17 mmol) and DIEA (1.80 mL, 10.3 mmol) in NMP (10 mL) was stirred at 90 C for 18 h. Water and EtOAc were added. The organic phase was washed with water, then was dried over Na2SO4, concentrated in vacuo to give ethyl 6-chloro-4-(thiophen-2-ylmethylamino)nicotinate as an oil (1.54 g).