In this paper we study the existence and the continuation of periodic solutions of autonomous Hamiltonian systems. We apply the degree for G-invariant strongly indefinite functionals, defined in Golebiewska and Rybicki (2011) [2]. We consider resonant as well as nonresonant case at stationary solutions. (C) 2012 Elsevier Inc. All rights reserved.