Police apprehended a 20-year-old Virginia man who climbed Trump Tower on Wednesday.

The man scaled the building for about three hours late Wednesday afternoon before police grabbed him from a window around 6:30 p.m. He was taken to Bellevue Hospital for a psychological exam, and will be charged once police determine the appropriate course of action, officials said.

The man was attempting to climb to the top of Trump Tower in order to speak with Republican presidential nominee Donald Trump, police told reporters in a news conference. He posted a video to YouTube on Tuesday, saying he was an “independent researcher” seeking a private audience with Trump to “discuss an important matter.” He also encouraged people to vote for Trump in the upcoming election.

“The reason I climbed your tower was to get your attention,” he said in the video. “If I had sought this via conventional means, I would be much less likely to have success because you are a busy man with many responsibilities.”

The man had made it to the sixth floor sub roof of the building’s south side around 4:30 p.m. and was continuing his climb, using a device made of suction cups, according to the NYPD. Authorities appeared to break a glass window above the man, but he quickly pivoted to the side and continued to climb.

A witness told ABC that the man was standing on the sub roof garden, which is open to the public, when he started climbing on the building’s East 56th Street side.

Witnesses were confused about the climber’s purpose and posted several pictures of the climber on Twitter.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Mahita Gajanan at mahita.gajanan@time.com.