Sgt Danny Nightingale said outside court after being released: "Thank you to the world for being so kind".
His wife Sally said she was "very, very happy" and that she had "fought for this and got justice today".
More top news
Music producer Naughty Boy has apparently released ex-One Direction star Zayn Malik's first solo track.
A Malaysian court has found a man guilty of murdering two British medical students in Borneo.
A Liberal Democrat parliamentary candidate has said he deliberately caught HIV after years battling depression.