The planet lies at the core of the ancient globular star cluster M4, located 5,600 light-years away in the constellation of Scorpius, the US space agency NASA said.
Astronomers estimate it was formed 13 billion years ago -- long before the Earth or its sun existed -- and has a mass about 2.5 times the mass of Jupiter.
The planet's existence has been the object of debate since its star was first discovered in 1988 in an area of the Milky Way galaxy thought to be too old for planets to have formed. A team of researchers using Hubble data were recently able to confirm its status as a planet and measure its mass.