Blue LEDs had been troublesome to fabricate until the early 90s because of the difficulty in p-doping III-nitride materials. GaN and InGaN alloys were considered to be the most effective materials with suitable bandgaps for blue light-emission, however activating the Mg dopants required for p-doping was an issue resolved by Nakamura, Amano and Akasaki. Until this problem was resolved, it was impossible to build a decent p-i-n or p-n structure and thus impossible to construct and LED.