Astronaut Scott Kelly is hanging up his spacesuit after spending nearly a year in orbit.

Mr Kelly's retirement comes less than two weeks after he returned to Earth. He leaves space agency Nasa on April 1.

Mr Kelly, 52, spent a US-record 340 days on the International Space Station to see how the human body endures long periods of time in orbit. His results are being compared to those on the ground from his twin brother Mark, who is a retired astronaut.

Scott Kelly also holds the American record for most time in space - 520 days over four missions.

"I look forward to continuing my 30 years of public service in a new role," Mr Kelly, who joined the US Navy in 1987, said in a Facebook post. "To continue toward any journey, we must always challenge ourselves to take the next step."

During his one-year trip he posted hundreds of images, mostly of Earth from orbit, on social media. But he also engaged in a little fun, donning a gorilla suit that was a gag gift from his brother and chasing fellow astronauts through the space station in a video.

"This year-in-space mission was a profound challenge for all involved and it gave me a unique perspective and a lot of time to reflect on what my next step should be on our continued journey to help further our capabilities in space and on Earth," Mr Kelly said in a statement issued by Nasa.

Mr Kelly will continue to undergo periodic medical tests as part of his mission, Nasa said.

"Adjusting in space is easier than adjusting to Earth for me," Mr Kelly said in his first post-flight news conference a week ago. Even then he gave a hint of what was to come, saying he doubted he would fly again for Nasa, but adding, "I'll never be done with space. I will always be involved."

His departure means the space agency is losing its biggest star, said John Logsdon, a retired space policy professor.

"I'm willing to bet that no one could name another Nasa astronaut, anyone not close to the programme," Prof Logsdon said. "It clears the way for the next generation of space fliers. There are a few veteran fliers left, but not many."

Nasa administrator Charles Bolden, himself a retired astronaut, said the space agency and science in general was grateful to Mr Kelly, who, he added deserves "meals that don't come in a bag, a cold beer, hot showers, cool autumn breezes, the sounds of birds chirping, the ability to lay his head on an actual pillow and so much more of the pleasures of life".

Astronauts who eventually will land on Mars "will be following in the footsteps of one of the finest astronauts in the history of the space programme, my friend, Commander Scott Kelly," he said.

Mr Kelly returned from the space station on March 2, landing in Kazakhstan with Russia's Mikhail Kornienko, his partner for the one-year mission. The usual space station stint is six months.

His re-entry into land living was good and bad. Home in Houston, Texas, he dived into his garden pool still in his blue flight suit, going underwater for the first time in nearly a year. But clothing was a problem. In space, his clothes floated around him and did not touch his skin.

"It's very, very sensitive," he said. "It's almost like a burning feeling wherever I like sit or lie or walk."

Before leaving orbit, Mr Kelly tweeted: "The journey isn't over. Follow me as I rediscover #Earth!"

His Twitter followers have since read about his first steak, first dental appointment, first rain, and that dip in the pool.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.