When gallium nitride-based compound semiconductor is used, the semiconductor substrate is preferably made of such material as sapphire, spinel, SiC, Si, ZnO, GaAs or GaN. In order to form gallium nitride of good crystallinity, sapphire substrate is preferably used.