The weapons were said to have been first acquired by Nicaragua during its civil war in the 1980s , and some could have been passed on to drug-smuggling groups .