A thin nitride-based semiconductor layer having a low dislocation density
is formed by laterally growing a nitride-based semiconductor layer on the
upper surface of an underlayer and forming quantum dots on the laterally
grown nitride-based semiconductor layer. The number of dislocations is
reduced by a single lateral growth and is further reduced due to a
dislocation loop effect by the quantum dots, without repeating lateral
growth.