Next, metal such as Au, Ag, Al or the like can be deposited on the n-type semiconductor layer 12a, which has been exposed by the removal of the sapphire substrate 50, by a sputtering method or the like, and the metal is patterned by a photolithography technique or the like, thereby forming an electrode pad 41.