A tubular lighting device, comprising: a tubular housing having an elongate axis and first and second opposite ends, each end comprising two projecting electrical connection pins; a first pin safety circuit electrically connected to the electrical connection pins at the first end and having a first power supply output terminal; a second pin safety circuit electrically connected to the electrical connection pins at the second end and having a second power supply output terminal; a solid state lighting arrangement; and a lighting driver circuit for driving the solid state lighting arrangement, the lighting driver circuit being connected to the first and second power supply output terminals (50a, 54a) for receiving power from the first and second pin safety circuits (50, 54), wherein the first pin safety circuit comprises a first TRIAC switch having a first input terminal, a first output terminal and a first gate terminal, wherein the first input terminal is connected to one of the electrical connection pins at the first end, and the first output terminal is connected to the first power supply output terminal; wherein the second pin safety circuit comprises a second TRIAC switch having a second input terminal, a second output terminal and a second gate terminal, wherein the second input terminal is connected to one of the electrical connection pins at the second end, and the second output terminal is connected to the second power supply output terminal; characterized in that the first gate terminal is connected to the other one of the electrical connection pins at the first end, wherein the first TRIAC is adapted to form a closed switch in response to a voltage between the first input terminal and the first gate terminal, and, that the second gate terminal is connected to the other one of the electrical connection pins at the second end, wherein the second TRIAC is adapted to form a closed switch in response to a voltage between the second input terminal and the second gate terminal. a tubular housing having an elongate axis and first and second opposite ends, each end comprising two projecting electrical connection pins; a first pin safety circuit electrically connected to the electrical connection pins at the first end and having a first power supply output terminal; a second pin safety circuit electrically connected to the electrical connection pins at the second end and having a second power supply output terminal; a solid state lighting arrangement; and a lighting driver circuit for driving the solid state lighting arrangement, the lighting driver circuit being connected to the first and second power supply output terminals (50a, 54a) for receiving power from the first and second pin safety circuits (50, 54), wherein the first pin safety circuit comprises a first TRIAC switch having a first input terminal, a first output terminal and a first gate terminal, wherein the first input terminal is connected to one of the electrical connection pins at the first end, and the first output terminal is connected to the first power supply output terminal; wherein the second pin safety circuit comprises a second TRIAC switch having a second input terminal, a second output terminal and a second gate terminal, wherein the second input terminal is connected to one of the electrical connection pins at the second end, and the second output terminal is connected to the second power supply output terminal; characterized in that the first gate terminal is connected to the other one of the electrical connection pins at the first end, wherein the first TRIAC is adapted to form a closed switch in response to a voltage between the first input terminal and the first gate terminal, and, that the second gate terminal is connected to the other one of the electrical connection pins at the second end, wherein the second TRIAC is adapted to form a closed switch in response to a voltage between the second input terminal and the second gate terminal.