A cadet who wore a Che Guevara T-shirt to his graduation ceremony and posted the message “Communism will win” online has been discharged from the army.

Spenser Rapone posted photographs of himself on social media exposing a T-shirt with an image of Cuban revolutionary Che Guevara worn under his uniform.

In another Twitter post the “Commie cadet” appeared raising his fist in a socialist salute flipping over his cap showing the message “Communism will win” posted on the inside.

Mr Rapon first posted the images in 2017 explaining that he did so in solidarity with American football star Colin Kaepernick who was receiving abuse for kneeling during the US national anthem at the start of matches.

He became interested in communism after reading Karl Marx and the writings of former special forces sergeant Stan Goff who became a socialist anti-war activist.

After receiving an other-than-honourable discharge for advocating socialist revolution, Mr Rapone posed for “one final salute,” posting a photograph of him extending his middle finger next to a sign at the entrance to the Fort Drum military base.