Sodium nitrite deamination of aspartic acid dimethylester gave diazo-succinic acid dimethylester, maleic acid dimethylester, fumaric acid dimethyles-ter, malic acid dimethylester and deamination of glutaric acid dimethylester gave diazoglutamic acid dimethylester, 1-propenedicarboxylic acid dimethylester and a-hydroxyglutamic acid dimethylester respectively. The intermediate function of diazoester in these reactions has been investigated along with hydrolysis of diazoaspartic acid dimethylester. The role of substituents on the resulting car- bonium ions in controlling product distribution is` discussed.