[O:1]=[C:2]1[N:7]2[CH2:8][CH2:9][CH2:10][CH2:11][CH2:12][C:6]2=[N:5][CH:4]=[C:3]1[C:13]([O:15][CH2:16][CH3:17])=[O:14].[CH3:18]C(C)=O.C[I:23]>C(OCC)C>[I-:23].[CH2:16]([O:15][C:13]([C:3]1[C:2](=[O:1])[N:7]2[CH2:8][CH2:9][CH2:10][CH2:11][CH2:12][C:6]2=[N+:5]([CH3:18])[CH:4]=1)=[O:14])[CH3:17]1.18 g. of ethyl 4-oxo-4,6,7,8,9,10-hexahydro-pyrimido[1,2-a]azepine-3-carboxylate is dissolved in 12 ml. of acetone and allowed to stand for 24 hours at room temperature in the presence of 1.25 ml. of methyl iodide. The reaction mixture is diluted with diethyl ether. The precipitated crystals are filtered. 0.8 g. (43%) of 3-ethoxycarbonyl-1-methyl-4-oxo-4,6,7,8,9,10-hexahydro-pyrimido[1,2-a]azepinium iodide is obtained melting at 202°-204° C.