A white man accused of attempting to commit a terror attack in Nebraska last year has links to far-right neo-Nazi groups and expressed an interest in 'killing black people', the FBI says.

Police say Taylor Michael Wilson was armed when he was found in the engine room of an Amtrack train, last October, after bringing the train to a sudden halt.

He was subdued by the train's conductor and others, according to The Lincoln Journal Star, arrested, and has now been charged in US District Court in Lincoln, Nebraska, with "terrorism attacks and other violence against railroad carriers and mass transportation systems".

According to court documents unsealed on Wednesday, Mr Wilson, of St Charles in Missouri, had videos and PDF files on his phone of a white supremacist banner, other alt-right postings and documents detailing how to kill people - including a copy of The Anarchist Cookbook.

In an affidavit attached to the criminal complaint, FBI Special Agent Monte Czaplewski said an acquaintance of Mr Wilson's contacted by the FBI said he had joined an "alt-right" neo-Nazi group that he found while researching white supremacy forums online.

Czaplewski also said the FBI believed Mr Wilson had travelled with members of the group to the Unite the Right rally in Charlottesville last year, where 32-year-old Heather Heyer was killed and 19 people injured when counter-protesters clashed with white supremacists, nationalists and neo-Nazis.

Violence on the streets of Charlottesville Show all 9 1 /9 Violence on the streets of Charlottesville Violence on the streets of Charlottesville Protesters clash and several are injured White nationalist demonstrators clash with counter demonstrators at the entrance to Lee Park in Charlottesville, Virginia. A state of emergency is declared, August 12 2017 Violence on the streets of Charlottesville Trump supporters at the protest A white nationalist demonstrator walks into Lee Park in Charlottesville, Va., Saturday, Aug. 12, 2017. Hundreds of people chanted, threw punches, hurled water bottles and unleashed chemical sprays on each other Saturday after violence erupted at a white nationalist rally in Virginia. AP Photo Violence on the streets of Charlottesville State police stand ready in riot gear Virginia State Police cordon off an area around the site where a car ran into a group of protesters after a white nationalist rally in Charlottesville, Virginia AP Photo Violence on the streets of Charlottesville Militia armed with assault rifles White nationalists, neo-Nazis and members of the 'alt-right' with body armor and combat weapons evacuate comrades who were pepper sprayed after the 'Unite the Right' rally was declared a unlawful gathering by Virginia State Police. Militia members marched through the city earlier in the day, armed with assault rifles. Getty Images Violence on the streets of Charlottesville Statue of Confederate General Robert E Lee The statue of Confederate General Robert E. Lee stands behind a crowd of hundreds of white nationalists, neo-Nazis and members of the 'alt-right' during the 'Unite the Right' rally 12 August 2017 in Charlottesville, Virginia. They are protesting the removal of the statue from Emancipation Park in the city. Getty Images Violence on the streets of Charlottesville Racial tensions sparked the violence White nationalists, neo-Nazis and members of the 'alt-right' exchange insults with counter-protesters as they attempt to guard the entrance to Lee Park during the 'Unite the Right' rally Getty Violence on the streets of Charlottesville A car plows through protesters A vehicle drives into a group of protesters demonstrating against a white nationalist rally in Charlottesville, Virginia. The incident resulted in multiple injuries, some life-threatening, and one death. AP Photo Violence on the streets of Charlottesville Rescue personnel help injured people after a car ran into a large group of protesters after an white nationalist rally in Charlottesville, Virginia AP Photo Violence on the streets of Charlottesville President Donald Trump speaks about the ongoing situation in Charlottesville, Virginia from his golf club in Bedminster, New Jersey. He spoke about "loyalty" and "healing wounds" left by decades of racism.

An informant is also said to have told the FBI that the 26-year-old had expressed an interest in "killing black people" and other non-white people, according to the affidavit, with Czaplewski adding they suspected Mr Wilson was responsible for a road rage incident in 2016 when a man pointed a gun at a black woman for no apparent reason.

The unsealed court documents also said Mr Wilson was carrying a loaded .38-calibre handgun, a speed loader and a National Socialist Movement business card on him when he was arrested.

The National Socialist Movement is one of the largest and most prominent neo-Nazi groups in the US.

Despite having a permit in Missouri to carry a handgun, Mr Wilson also had a backpack containing three more speed loaders, a box of ammunition, a knife, tin snips, scissors and a ventilation mask.

Mr Wilson's $100,000 bond was posted on 11 December and he was released, but two days later FBI agents searched his Missouri home where they found a handmade shield, tactical body armour, 15 firearms - including a fully-automatic rifle - hundreds of rounds of ammunition, gunpowder, white supremacy documents and several handgun and rifle magazines.