Which of the following are called ‘terrestrial planets’?

Which of the following are called ‘terrestrial planets’?

Earth, Mars, Jupiter, Mercury
Jupiter, Mercury, Saturn, Earth
Earth, Mercury, Mars, Venus
Mercury, Mars, Earth, Saturn
This question was previously asked in
UPSC Geoscientist – 2022
Terrestrial planets are the inner, rocky planets of our solar system. They are characterized by having solid surfaces. In our solar system, the terrestrial planets are, in order from the Sun: Mercury, Venus, Earth, and Mars. The outer planets (Jupiter, Saturn, Uranus, Neptune) are gas giants or ice giants, primarily composed of gases and liquids, and are also known as Jovian planets.
– Terrestrial planets are rocky and located closer to the Sun.
– Jovian planets (gas/ice giants) are large, gaseous/liquid, and located farther from the Sun.
Besides their composition and location, terrestrial planets typically have higher densities, slower rotation, solid surfaces, and few or no moons or ring systems compared to Jovian planets. Earth is the largest of the terrestrial planets.