The canonical Poisson bracket algebra of four-dimensional relativistic mechanics is used to derive the equation of motion for a charged particle, with the Lorentz force, and the homogeneous Maxwell equations.