We investigate the dynamics of the spin-less relativistic particle subject to an external eld of a harmonic oscillator potential. The KleinGordon equation with one-and three-dimensional vector and scalar parabolic potentials is solved using the expansion of the wavefunction in properly selected basis-sets. The resonance states are determined using the complex coordinate rotation method. The analytic expressions for the rst-and secondorder relativistic energy corrections are derived perturbatively. The relativistic model of the harmonic oscillator in the momentum representation, originally proposed by Znojil, is also discussed.