Published: Aug 24, 2011 4:49 PM EDT

TRIPOLI, Libya (AP) - International journalists were freed from the Rixos Hotel on Wednesday after being held for five days by armed men loyal to Moammar Gadhafi.
    
The dozens of journalists were taken in Red Cross cars and vans to another Tripoli hotel, where they hugged friends and colleagues, many crying.
    
The International Committee of the Red Cross was talking to loyalist forces about the journalists' safety on Wednesday when they were suddenly informed that Gadhafi's men were ready to release them.
    
"We were able to gather everyone in four cars, no problem," said George Comninos, the Red Cross' head of delegation in Tripoli. "Of course, it was still a tense situation."
    
The journalists had been held at gunpoint by two nervous Kalashnikov-wielding guards who refused to give up their posts despite rebel victories elsewhere in the city.
    
Earlier in the day, an Associated Press reporter who entered the hotel found the journalists wearing helmets and flak jackets, clustered on the second floor, where a guard said they weren't permitted to leave.
    
Other journalists showed up at the gate, including a group in a car decorated with a rebel flag, and were forced out of the car and into the hotel, where they joined the dozens who had been there for days.
    
Those who had been held captive inside the hotel described running battles in the area, and intermittent electricity.
    
They were sleeping huddled on the floor in one wing of the hotel to protect each other for fear of people being attacked in their rooms, their belongings packed in case of need for a sudden departure.
    
Save for the two guards, all the hotel employees had fled and the journalists were cooking for themselves. One guard expressed surprise when told most of the city was in rebel hands. Parked in front of the hotel was the bus once used by government minders to ferry journalists around the city - on its windshield was a huge poster of Gadhafi - one of the only ones apparently left in the city.

(Copyright 2011 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)