A first principal plane faces a second principal plane of a p-type Ga N
compound semiconductor that is in contact with an MQW luminescent layer.
On the surface of the first principal plane, a first region made up of
the p-type Ga N compound semiconductor including at least Ni is formed.
On the surface of the first region, an electrode composed of an alloy
including Ni and Aluminum is formed. On the electrode, a pad electrode
for external connection consisting of Al or Au is formed.