Ultraviolet light-emitting diodes grown on Si(111) by gas-source molecular-beam epitaxy with ammonia are described. The layers are composed of superlattices of AlGaN/GaN and AlN/AlGaInN. The layers are doped n and p type with Si and Mg, respectively. Hole concentration of 4×10 17cm-3, with a mobility of 8 cm2/Vs, is measured in Al0.4Ga0.6N/GaN. We demonstrate effective n- and p-type doping of structures based on AlN/AlGaInN. Light-emitting diodes based on these structures show light emission between 290 and 334 nm.