 Kolbe nitrile synthesis

The Kolbe nitrile synthesis is a method for the preparation of alkyl nitriles by reaction of the corresponding alkyl halide with a metal cyanide.A side product for this reaction is the formation of an isonitrile because the cyanide ion is an ambident nucleophile and according to Kornblum's rule is capable of reacting with either carbon or nitrogen.