Time-like solutions to the Lorentz force equation in time-dependent electromagnetic and gravitational fields