Updated

A man carrying a concealed knife on Canada's Parliament Hill has been arrested, Royal Canadian Mounted Police said Wednesday.

Media relations officer Cpl. Valerie Thibodeau said Yasin Ali, 56, was detained by the Parliamentary Protective Service on Tuesday evening outside Centre Block, the main building on Parliament Hill that houses the Senate and the House of Commons.

After a brief court appearance Wednesday on a charge of carrying a concealed weapon, Ali was returned to jail.

Defense lawyer Peter Azzi said Ali is due back in court on Friday and will be psychologically assessed by a doctor.

Security on the Hill has been tightened since Oct. 22, 2014, when a gun-toting Michael Zehaf Bibeau managed to enter Centre Block after gunning down a soldier standing guard at the nearby National War Memorial.

Zehaf Bibeau died in a hail of bullets outside the Library of Parliament.