Dynamical Systems of Algebraic Origin