We study theoretically the electronic and nuclear dynamics in NaI. After a femtosecond pulse has prepared a wave packet in the first excited state, we consider the adiabatic and the nonadiabatic electronic dynamics and demonstrate explicitly that a nonstationary electron is created in NaI corresponding to electron transfer between Na and I. The electronic motion is introduced via nuclear motion, more specifically, through nonadiabatic curve crossing and the electronic motion is here on the same time scale as the nuclear motion. We show that the branching ratio between the channels NaϩI and Na ϩ ϩI Ϫ depends on the electron distribution ͑i.e., where the electron ''sits''͒ prior to the time where the bond is broken by a subpicosecond half-cycle unipolar electromagnetic pulse. Thus we control, in real time, which nucleus one of the valence electrons will follow after the bond is broken.