Genetic algorithms were used to evolve a neural controller for inverted pendulum system in assumption that that a neural network could learn non-linear system dynamics and therefore provide a better controller.