A method of forming an LED package, comprising: - forming an array of integrated circuit LEDs as part of a first semiconductor substrate, the first semiconductor substrate having a first face and an opposite second face, the LEDs being provided at the second face of the first semiconductor substrate, and having LED connection terminals (52a, 52b) on the first face of the first semiconductor substrate; - forming an array of switching transistors as part of a second semiconductor substrate, the second semiconductor substrate having a first face and a second opposite face, the second semiconductor substrate comprising LED contact pads (55a, 55b) on its first face for connection to the LED terminals (52a, 52b), the contact pads (55a, 55b) are connected to the transistor source and drain; package terminals (56a, 56b, 56c) on its second face, which package terminals (56a, 56b, 56c) comprise power line terminals (56a, 56b) and control terminals, wherein a control terminal is connected to a gate of a switching transistor; and through vias (58a,58b) extending between the first face and second face of the second semiconductor substrate, a through-via (58a,58b) providing connection between a power line terminal (56a, 56b) and an LED contact pad (55a, 55b); - performing wafer bonding to bond the first face of the first semiconductor substrate and the first face of the second semiconductor substrates (50,54) together, with each LED of the first semiconductor substrate positioned over a corresponding switching transistor of the second semiconductor substrate, thereby making electrical connection between the LED and corresponding switching transistor; - dicing the bonded first and second semiconductor substrates (50,54) to form individual LED packages or groups of LED packages, wherein each LED package has three package terminals (56a,56b,56c), on only one face, the three package terminals (56a,56b,56c) comprising two power line terminals (56a, 56b) and one control terminal. - forming an array of integrated circuit LEDs as part of a first semiconductor substrate, the first semiconductor substrate having a first face and an opposite second face, the LEDs being provided at the second face of the first semiconductor substrate, and having LED connection terminals (52a, 52b) on the first face of the first semiconductor substrate; - forming an array of switching transistors as part of a second semiconductor substrate, the second semiconductor substrate having a first face and a second opposite face, the second semiconductor substrate comprising LED contact pads (55a, 55b) on its first face for connection to the LED terminals (52a, 52b), the contact pads (55a, 55b) are connected to the transistor source and drain; - performing wafer bonding to bond the first face of the first semiconductor substrate and the first face of the second semiconductor substrates (50,54) together, with each LED of the first semiconductor substrate positioned over a corresponding switching transistor of the second semiconductor substrate, thereby making electrical connection between the LED and corresponding switching transistor; - dicing the bonded first and second semiconductor substrates (50,54) to form individual LED packages or groups of LED packages, wherein each LED package has three package terminals (56a,56b,56c), on only one face, the three package terminals (56a,56b,56c) comprising two power line terminals (56a, 56b) and one control terminal.