"Because it is difficult to turn a gallium nitride compound semiconductor to P type simply by doping a P type dopant, it is preferable to treat the gallium nitride compound semiconductor doped with P type dopant in such process as heating in a furnace, irradiation with low-speed electron beam and plasma irradiation, thereby to turn it to P type." . . . .