The gunmen left the building after about an hour , following talks with the governor of Bethlehem .