The rapid evolution of a star cluster or galaxy that has formed in a configuration far from equilibrium. During violent relaxation, the orbits of individual stars change dramatically because of changes in the gravitational potential of the system. It is thought to play an important part in shaping elliptical galaxies during the first billion years of their evolution.