India captain Rohit Sharma has confirmed his retirement from Test cricket. (More Cricket News)
The 38-year-old, who bowed out of T20Is last year in the wake of leading India to glory at the T20 World Cup, will still feature in ODIs.
He will also remain in place as skipper of India's 50-over team, which he guided to a Champions Trophy triumph earlier this year.
Rohit steps away from the longest format having featured in 67 Tests. He took over the role when Virat Kohli stepped down in 2022.
"I would just like to share that I am retiring from Test cricket. It's been an absolute honour to represent my country in whites," Rohit posted on Instagram.
"Thank you for all the love and support over the years. I will continue to represent India in the ODI format."
Rohit captained India 24 times in the red-ball format, winning 12 of those matches.
That 50% win ratio puts him behind only Kohli (59%) when it comes to India Test skippers to take charge of at least 10 matches.
He plundered 4,301 runs at an average of 40.57, scoring 12 centuries and 18 half-centuries.
Rohit's highest score in the format came when he struck 212 against South Africa in 2019.
However, his decision to retire comes on the back of poor performances against New Zealand and Australia.
Having missed the opening Test of the Border-Gavaskar Trophy series to attend the birth of his son, Rohit then "stood down" for the last match.
Jasprit Bumrah stepped up to lead India in Rohit's absence, and may well be one of the primary candidates to take over ahead of their tour of England, which begins in June.