Both ground forces and helicopters took part in the operation in the Orakzai tribal region near the Afghan border .