Two hikers had to be rescued in Thornton, New Hampshire on Monday after they took the wrong trail.

According to New Hampshire Fish and Game officials, Rose and Jorge Medeiros, of Rumney, New Hampshire, called 911 late Monday afternoon saying they needed to be rescued after they realized they weren’t on the trail they had planned to hike and it was getting dark.

The two had intended to do a 1.8-mile loop hike. Four hours later, when they hadn’t reached their destination, they called 911.

Using GPS coordinates, rescuers were able to find them on the Smarts Brook Trail, roughly four miles from where they had started.

They were helped back to the trailhead from where they had started, arriving at roughly 9 p.m.