On 2013 December 2 and 3, the SEPT and STE instruments on board STEREO-A observed two solar energetic electron events with unusual sunward-directed fluxes. Both events occurred during a time interval showing typical signatures of interplanetary coronal mass ejections (ICMEs). The electron timing and anisotropies, combined with extreme-ultraviolet solar imaging and radio wave spectral observations, are used to confirm the solar origin and the injection times of the energetic electrons. The solar source of the ICME is investigated using remote-sensing observations and a three-dimensional reconstruction technique. In situ plasma and magnetic field data combined with energetic electron observations and a flux-rope model are used to determine the ICME magnetic topology and the interplanetary electron propagation path from the Sun to 1 au. Two consecutive flux ropes crossed the STEREO-A location and each electron event occurred inside a different flux rope. In both cases, the electrons traveled from the solar source to 1 au along the longest legs of the flux ropes still connected to the Sun. During the December 2 event, energetic electrons propagated along the magnetic field, while during the December 3 event they were propagating against the field. As found by previous studies, the energetic electron propagation times are consistent with a low number of field line rotations N < 5 of the flux rope between the Sun and 1 au. The flux rope model used in this work suggests an even lower number of rotations. © 2017. The American Astronomical Society. All rights reserved.