On the ground in Japan and at Mohammed bin Rashid Space Centre, the tension of the launch gave way to applause as the Hope probe rose safely into space in the early hours of Monday.
The UAE joined an elite club of nations after the probe blasted out of Earth's atmosphere on a Japanese H-IIA rocket to begin a 200-day journey.
But for all the scenes of jubilation, all those involved in the Emirates Mission to Mars know a successful launch is only the beginning.
In its first few hours, Hope, or Al Amal, navigated a succession of challenges.
The upper stage of the craft containing the probe separated from the launch rocket and the protective shields around the nose cone fallen away, exposing Hope to space for the first time.
Next, the probe was released from the launcher and the craft activated its thrusters to stabilise itself.
Only once this was done, could two solar panels unfurl, recharging Hope’s batteries and allowing it to communicate with its controllers on Earth.
Hope then entered what it is known as the cruise phase, the seven-month journey to Mars, or rather towards where the planet will be by then.
This was another early test of nerves. If anything went gone wrong – a failed thruster or a jammed panel – the mission would have been over before it started. Instead it was a success.
Earth orbits the Sun on a slightly elliptical path and at a distance that varies between about 147 million and 152 million kilometres.
Mars is much farther away and has a more pronounced oval orbit that at times takes it more than 200m km from the Sun.
That means it takes Mars nearly twice as long as Earth to make a complete solar orbit – a Martian year is 687 days.
To save time and fuel, it made most sense to aim Hope at where Mars would be early next year.
The optimum time for such a launch is every 26 months, which fell in July.
It is why the timing of the Hope launch was so crucial. If the launch was seriously delayed, the mission would have had to wait more than two years until the planets aligned again.
But even if Hope is taking a shortcut it is not without risk.
Travelling through space, the probe will experience average temperatures of about minus 270°C, or close to absolute zero, and be bombarded with high levels of radiation.
The Emirati scientists and engineers who built Hope designed the probe’s sensitive components to cope with these extremes, but several past missions were lost because of equipment failure on the way, including Nasa’s Mars Observer in 1993 and Russia’s Phobos 1 in 1988.
There are other perils. A solar flare in 2002 wiped out the electronics on Japan’s Nozomi Mars probe and a strike from a “micrometeorite” likely wrecked the pressurised instruments on board Russia’s Mars 5 in 1974.
To put it into perspective, in 60 years of exploration, more than half of all Mars missions have ended in failure. And while the success rate has improved in recent years, about a third of Mars missions still fail to make it.
Along the way, Hope will navigate using a “star tracker”, equipment that measures the probe’s position in relation to the pattern of stars around it, similar to navigation on Earth.
A combination of the craft’s 14 thrusters and small flywheels, similar to gyroscopes, will carry out course corrections and keep the solar panels and communication dish aligned.
Hope’s flight path will intersect with Mars next February, but ensuring that it stops there is another tricky process.
The first successful probe to Mars, Mariner 4, spent only a couple days at the planet in 1965 before heading on into space because it lacked the technology to stop.
To enter Mars orbit, Hope will slam on the brakes, firing its thrusters for 30 minutes at exactly the right moment to reduce speed from about 120,000 kilometres per hour to 14,000kph.
This will be another tense time at mission control in Dubai. Hope is so far from Earth that instantaneous control is not possible and the probe must depend on its computer to make the right decisions.
It will take a nerve-racking 13 to 20 minutes before information about the manoeuvre reaches Earth. By then one of two scenarios will have played out.
In the worst case, the engine burn will have failed and the probe sped past Mars to be lost in space.
If all goes well, Hope will break silence after emerging from the shadow of Mars, the first signal of success that is likely to be received by a tracking station in Spain.
When it is captured by Mars’ gravity, the probe will take 40 hours to move from what is known as the capture orbit into the science orbit, ready to begin its mission. At this point we may see the first images of the planet sent from the probe.
Orbiting between 20,000km and 43,000km, testing Hope will take about six weeks, ending with the use of its three scientific instruments, including a high-resolution digital camera, to unlock the secrets of Mars atmosphere.
Only then will the mission planner finally be able to relax, as the first 1,000 gigabytes of new data about Mars begins to arrive to tell us more about the story of this strange and hostile environment.