most of the illegal miners detained in last week 's raids were taken to puerto ayacucho , a jungle outpost on the orinoco river about 400 miles south of caracas , where they were to be tried on charges of damaging the environment , authorities said .