UK man held near May's office appears in court on terrorism charge

A police convoy arrives at Westminster Magistrates Court where Khalid Mohamed Omar Ali, who was arrested near Parliament Square three weeks ago is due to appear on charges of preparing terrorist acts, in London, Britain May 10, 2017. REUTERS/Neil Hall

LONDON (Reuters) - A man arrested near Prime Minister Theresa May's office in London last month appeared in court on Wednesday and was remanded in custody after being charged with terrorism and explosives offences.

Khalid Mohammed Omar Ali, 27, of north London, was detained by counter-terrorism officers on Parliament Street, near the parliament building and May's Downing Street office on April 27.

Flanked in the dock at Westminster Magistrates Court by two guards and wearing a gray top and trousers, Ali said he did not recognize the charges and "not guilty" pleas were entered on his behalf.

He faces one count of preparing terrorist acts and two, relating to activities in Afghanistan in 2012, of possessing explosives.

Ali will appear for a preliminary hearing at the Old Bailey, London's central criminal court, on May 19.

(Reporting by Emily Roe, writing by Stephen Addison, editing by Estelle Shirbon)