A Libyan man has been sentenced to six years for terrorism offenses and other charges related to a failed plan to send ammunition to militias operating inside Libya.

Abdurraouf Eshati had pleaded guilty to having documents linking him to the planned deal to send 1,100 tons of ammunition to Libya via Italy in contravention of a U.N.-imposed arms embargo.

The 29-year-old had also pleaded guilty to staying in Britain in violation of the Immigration Act.

The sentence imposed Tuesday covers both offenses.

Eshati was arrested by British police on Nov. 30, 2014 with documents showing involvement in a $28.5 million arms deal taking place in Italy and also plans to charter a cargo plane to deliver the ammunition.

Police found additional evidence when they searched his residence in Wales.