The man charged with murdering Jo Cox has given his name to magistrates as “death to traitors, freedom for Britain”.

As he stood in the dock at Westminster Magistrates' Court in London, 52-year-old Thomas Mair refused to give his correct name to the court and remained silent when asked his address and date of birth.

Thomas Mair (centre) at Westminster Magistrates' Court in London (PA) (PA/Elizabeth Cook)

Mrs Cox, 41, died after being shot and stabbed in the street outside her constituency surgery in Birstall, near Leeds, on Thursday.

Mair, of Birstall, is charged with murder, grievous bodily harm, possession of a firearm with intent to commit an indictable offence and possession of an offensive weapon.

After being taken to the court in a prison van, Mair was led from the basement cells for a short, preliminary court appearance, presided over by Deputy Chief Magistrate Emma Arbuthnot. He appeared in the dock wearing a grey jumper, tracksuit bottoms and black shoes.

Mair was not required to enter a plea, and his lawyer, Keith Allen, said there was no indication of what plea would be given. He also told the court an application was made for legal aid.

Cameron, Corbyn in Cox tribute

Ms Arbuthnot ordered that he be remanded in custody until his next appearance at the Old Bailey on Monday.

He will be held at Belmarsh Prison, and Ms Arbuthnot suggested that a psychiatric report should be prepared, saying: "Bearing in mind the name he has just given, he ought to be seen by a psychiatrist."

During the hearing, it emerged that, as he was arrested, Mair claimed to be “a political activist”.

Prosecutor David Cawthorne from the counter-terrorism division of the Crown Prosecution Service gave the court an account of the events surrounding Mrs Cox’s death.

The court heard that at around 12.45pm, after Mrs Cox got out of her vehicle in Market Street, Birstall, a man approached and began attacking her with a knife.

Bernard Kenny, 77, who was waiting in his car after dropping his wife off to visit the library, went to Mrs Cox's aid and tried to save her, but was himself stabbed and forced to retreat to a sandwich shop to seek cover.

Mrs Cox was then repeatedly stabbed, shot three times as she lay on the ground, and then stabbed again as she fought for her life.

As she was assaulted, the attacker is believed to have said: "Britain first, keep Britain independent" and "Britain always comes first, this is for Britain".

Mrs Cox died at 1.48pm.

Mair was arrested at 1.25pm in Risedale Avenue, about a mile from the scene, by two officers who saw a white man wearing a black blood-smeared baseball cap and carrying a black holdall.

They tackled him to the ground, and as he was detained he was heard to say, "I'm a political activist." He told police he had a knife in his pocket.

Searching his trouser pockets, officers instead found a plastic bag containing what appeared to be a large number of bullets.

They also found a single-barrel firearm in the bag, as well as a magazine and a number of rounds. There was also a bloodstained mobile phone, a blood-stained dagger and a black wallet.

A search of Mair's house found material relating to far right ideology and white supremacy groups, as well as newspaper articles relating to Mrs Cox.

Jo Cox tributes - in pictures Show all 20 1 /20 Jo Cox tributes - in pictures Jo Cox tributes - in pictures Floral tributes and candles are placed by a picture of slain Labour MP Jo Cox at a vigil in Parliament square in London AFP Jo Cox tributes - in pictures Tributes to Labour Party MP Jo Cox are placed on her houseboat in Wapping in London REUTERS Jo Cox tributes - in pictures The Union flag at half-mast on top of Portcullis House in London after Labour MP Jo Cox was shot and stabbed to death PA Jo Cox tributes - in pictures Labour leader Jeremy Corbyn (2R) and deputy leader Tom Watson (L) light candles as they attend a vigil to slain Labour MP Jo Cox in Parliament square in London AFP/Getty Images Jo Cox tributes - in pictures Labour Party leader Jeremy Corbyn and deputy leader Tom Watson (rear) arrive to leave tributes at Parliament Square PA Jo Cox tributes - in pictures People leave St Peter's Church after a vigil in memory of Jo Cox REUTERS Jo Cox tributes - in pictures Flowers left at Parliament Square opposite the Palace of Westminste, following the death of Labour MP Jo Cox PA Jo Cox tributes - in pictures People react as they look at tributes left for Labour Member of Parliament Jo Cox in Parliament Square, London REUTERS Jo Cox tributes - in pictures A man writes a message at Parliament Square PA Jo Cox tributes - in pictures People stop to look at tributes left at Parliament Square opposite the Palace of Westminster PA Jo Cox tributes - in pictures A woman arrives to lay flowers at a statue to Joseph Priestly in Birstall near to the scene where Labour MP Jo Cox was shot AFP/Getty Images Jo Cox tributes - in pictures Tributes at Parliament Square opposite the Palace of Westminster PA Jo Cox tributes - in pictures A woman places candles in tribute to Labour Party MP Jo Cox REUTERS Jo Cox tributes - in pictures A member of the public signs a memorial for British MP Jo Cox in Parliament Square, London EPA Jo Cox tributes - in pictures People sign messages of condolence for MP Jo Cox during a vigil in Parliament Square in London Getty Images Jo Cox tributes - in pictures Flags at half mast outside Scottish Parliament in Edinburgh, after Labour MP Jo Cox was shot and stabbed to death in the street outside her constituency advice surgery in Birstall PA Jo Cox tributes - in pictures People arrive in Market Square with floral tributes after the death of Jo Co Getty Images Jo Cox tributes - in pictures Floral tributes are placed in Market Square next to the statue of Joseph Priestley following the death of Jo Cox Getty Images Jo Cox tributes - in pictures Floral tributes are brought to the scene after the death of Jo Cox Getty Images Jo Cox tributes - in pictures A police officer carries bunches of flowers at the scene of the shooting of Labour MP Jo Cox in Birstall REUTERS

After Mrs Cox's death, campaigning in the EU referendum was suspended.

In a show of political unity, the Prime Minister and the leader of the opposition travelled to Ms Cox’s West Yorkshire constituency to pay tribute to the MP alongside her constituents.