A group of foreign journalists who had been forced to stay inside Tripoli's Rixos hotel, under armed guard, have now been allowed to leave.

Dozens of journalists had been trapped inside the hotel for five days as gunmen loyal to Col Gaddafi roamed hallways restricting their movements.

The BBC's Matthew Price was one of those trapped in the hotel. He said there were times when journalists feared the worst.