Lakhani was charged with attempting to provide material support and resources to a terrorist group and acting as an arms broker without a license .