[N-:1]=[N+:2]=[N-:3].[Na+].Cl[C:6]1[C:15]2[C:10](=[C:11]([O:18][CH3:19])[CH:12]=[CH:13][C:14]=2[O:16][CH3:17])[N:9]=[CH:8][CH:7]=1.[NH4+].[Cl-]>CN(C=O)C.O>[N:1]([C:6]1[C:15]2[C:10](=[C:11]([O:18][CH3:19])[CH:12]=[CH:13][C:14]=2[O:16][CH3:17])[N:9]=[CH:8][CH:7]=1)=[N+:2]=[N-:3]16.7 g of NaN3 are added to a solution of 10 g (44.7 mmol) of 4-chloro-5,8-dimethoxyquinoline in a DMF/H2O mixture (160 mL/60 mL). The reaction medium is heated at 90° C. for 2 h 30 min. After cooling, the mixture is hydrolyzed with 500 mL of saturated NH4Cl solution and is extracted with CHCl3 (3 times 150 mL) After drying over MgSO4, the organic phases are concentrated on a rotary evaporator and the DMF is then removed under vacuum (2 mmHg). 8.7 g of azide are obtained in the form of a brown powder.