(CNN) -- British police arrested a man accused of trying to get into London's Buckingham Palace illegally on Monday, authorities said.
The 44-year-old man was stopped at the main gate facing the Victoria Memorial, and a search revealed he was carrying a knife, according to Metropolitan Police.
He did not gain access to the palace grounds, police said.
The man was arrested on suspicion of trespassing on a protected site and possession of an offensive weapon, and remained in custody Monday afternoon, police said. His name was not released; no injuries were reported.
Buckingham Palace, the best known of Queen Elizabeth II's palaces, is the administrative center for the royal household as well as the queen's London residence.
The incident came more than a month after police said a man scaled a security fence to enter the palace. The man was found inside the palace in an area open to the public during the day, police said. Two men were arrested on that day -- one on suspicion of conspiracy to commit burglary, the other accused of burglary, trespass and criminal damage.