An endoscope with lateral illumination including: an endoscope shaft with an outer tube; an input lens arranged in a distal area of the outer tube, the input lens having a viewing direction pivotable in at least one pivot plane; two or more illumination optical-fiber bundles terminating at output surfaces at a distal tip, wherein a first illumination optical-fiber bundle generates an illumination, at a 0° viewing angle, and a second illumination optical-fiber bundle generates an illumination of another area with a lateral viewing angle or lateral viewing-angle range of between 0° and 90°; and one or more light-emitting diodes arranged in or on a circumference of the endoscope shaft in an area of the distal tip, wherein the light-emitting diode(s) is/are arranged in the pivot plane and/or around the pivot plane, in order to generate an illumination at a viewing angle or a viewing-angle range of about 90°.