The US space program's oldest and most traveled shuttle, Discovery, was on track to make its final Earth landing Wednesday after a near-perfect last mission to the space station.
The aging space shuttle has flown more than any other in the fleet during its 27-year career, and will become the first of three to retire as the United States winds down its storied shuttle program this year.
The weather at Florida's Kennedy Space Center was mild and looked promising for a landing at 11:57 am (1657 GMT), NASA said, with another opportunity at 1:34 pm (1834 GMT).
Astronauts completed an inspection of the shuttle's heat shield on Tuesday and found no problems, said the chair of NASA's mission management team Leroy Cain, who heaped praise on the spacecraft's power after 39 missions.
"The entire space shuttle system just performed outstanding on this entire mission," he told reporters.
"We have had an awesome display here of the capabilities of the team and the hardware."
Discovery's mission was initially scheduled to last 11 days but was extended to 13 so that astronauts could work on repairs and install a spare room to add 21 by 15 feet (6.5 by 4.5 meters) of extra room for storage and experiments.
Astronauts also brought the first humanoid robot to the International Space Station (ISS), though it spent most of its time wrapped in packing materials and will not become fully operational for some time.
During the mission, President Barack Obama called to congratulate the six Discovery astronauts and their six crewmates, who were already aboard the ISS.
"I wanted to call and say how personally proud I am of you and all that you are accomplishing. We are always inspired by the images of you guys at work," Obama said.
Another morning, the crew woke up to a personalized message from actor William Shatner, who played Captain Kirk in the popular Star Trek series.
"Space, the final frontier. These have been the voyages of the space shuttle Discovery," said Shatner in a specially recorded introduction to the "Theme from Star Trek," played on the crew's final morning in space.
But not every moment was quite so glamorous.
A robotic arm breakdown during the first of two spacewalks left US astronaut Steve Bowen stranded outside the ISS clutching a broken ammonia pump for about 30 minutes.
But no harm was done and the crew laughed as they described the situation to reporters later.
When the shuttle lands, it will have spent a total of 365 days in space, logging about 150 million miles (241 million kilometers).
"We have one major milestone remaining and that is to get the crew of Discovery, and Discovery, back safely," said Cain.
The US space agency has been reeling from a botched launch last week that saw the $424-million Glory climate satellite plunge into the Pacific Ocean after its protective nose cone cover failed to detach.
Hours after Discovery touches down, NASA plans to roll out the shuttle Endeavour to launch pad 39A in preparation for its final journey to the orbiting space lab on April 19.
Endeavour is to be commanded by astronaut Mark Kelly, whose lawmaker wife Gabrielle Giffords is recovering from a bullet to the head, after a gunman went on a deadly rampage at a political meeting she was holding at a grocery store.
Kelly has said his wife is undergoing a grueling schedule of rehabilitation exercises and he hopes she will be well enough to attend the launch next month at Kennedy Space Center.
The shuttle Atlantis is scheduled for its final flight on June 28, which would mark the last shuttle mission ever.
After that, the sole method of transport to and from the ISS will be via Russia's Soyuz space capsules, which can carry three people at a time.
Discovery has broken new ground multiple times since it first launched in 1984.
It transported the Hubble Space telescope, was the first shuttle to be commanded by a female astronaut and the first to rendezvous with the Russian Mir Space Station.
The shuttle was also the first to return to space after two major disasters, the Challenger explosion in 1986 and the Columbia disaster in 2003 when the shuttle broke up on its return toward Earth.
Explore further: Start of dwarf planet mission delayed after small mix-up