The GaN crystal or wafer is useful as a substrate for epitaxial AlxInyGa1-x-yN films where 0???x???1, 0???y???1 and 0???x+y???1, light emitting diodes, laser diodes, photodetectors, avalanche photodiodes, transistors, diodes, and other optoelectronic and electronic devices.