It is the first time the US has labelled a foreign government’s military as a terrorist organisation.