The solar-powered Solar Impulse 2 airplane made it to New York City in the wee hours of Saturday morning, concluding the last leg of its United States trip in a bid to fly around the world.

The experimental plane — which runs purely on solar power — landed at John F. Kennedy International Airport at 3:59 a.m. ET after a four-hour and 41 minute flight from Pennsylvania.

Before the plane came in for a landing, it flew around the Statue of Liberty, producing a stunning image of the American icon and Solar Impulse 2 by night.

“We received very positive and heartwarming responses during our journey through the United States, because it’s a country of pioneers and explorers,” Bertrand Piccard, co-founder of the project, said in a statement.

Piccard and fellow co-founder André Borschberg take turns piloting the craft.

The flight from Pennsylvania to New York — piloted by Borschberg — is the 14th leg of Solar Impulse's journey to circumnavigate the globe.

Solar Impulse 2 initially started its trip around the world in March 2015, taking off from Abu Dhabi and making stops in Oman, India, Myanmar, China and Japan before flying to Hawaii. But then they hit a snag in the plan.

The aviation industry told us #solarimpulse was an impossible project so we built our own team & found new solutions pic.twitter.com/jDuzvDb4VB — André Borschberg (@andreborschberg) June 11, 2016

The plane's battery was damaged during its journey, forcing the pilots to suspend their journey until April, when Piccard took off from Hawaii for a three-day trip to the mainland.

Since arriving in California, Piccard and Borschberg have piloted the plane through four other stops before arriving in New York City.

Solar Impulse 2 will now continue its trip around the world, flying across the Atlantic Ocean to North Africa or Europe before making it back to Abu Dhabi.

Have something to add to this story? Share it in the comments.