A wildfire that briefly stranded hundreds of tourists at the Grand Canyon was fully contained Tuesday, officials said.

The fire, near the canyon's North Rim, began with a lightning strike on June 8 and was allowed to burn until winds whipped it out of control. Crews began fighting it aggressively two weeks later, and it grew to more than 58,000 acres.

Click here for FOXNews.com's Natural Disaster Center.

"Everything went really well," said Jacki Denk, a fire management team spokeswoman. "We're outta here."

The fire crossed a main highway leading to the North Rim on June 24, leading to evacuations and a weeklong closure that ended Monday. Tourists had to stay at a lodge, cabins and campground at Grand Canyon National Park until the highway reopened.

Rain and higher humidity in recent days have helped fire crews, who now have a line completely around the blaze.

In southwestern Utah, firefighters gained on a 43,500-acre fire near the town of Motoqua that was threatening 40 homes, said Alysha Zadow, spokeswoman for the Bureau of Land Management. Crews hoped to have it contained by the weekend.