The method comprises forming a trench in the termination region, the trench extending from the first main surface toward the heavily doped region of the substrate. The trench in the termination region is filled with an oxide material. Columns of the first conductivity type and the second conductivity type are formed in the active region.