The invention relates to a light source (1) with a discharge vessel (2) which is filled with a filling gas, and with an electron beam source (4) arranged in vacuum or in a region of low pressure, which source (4) generates electrons (12) and propels them through an inlet foil (8) into the discharge vessel (2).According to the invention, the inlet foil (8) comprises a diamond layer.