SAN FRANCISCO (CBS SF) — A transient man who stole firearms and left a threatening note at a home in San Jose earlier this week was arrested near AT&T Park just before 6 a.m. Friday morning, according to the city’s police department.

Dustin Hamilton, 44, was being sought after officers responded at 10:14 p.m. Wednesday to a burglary report in the 1600 block of Husted Avenue.

Police spokespeople said that upon arrival, they were informed that the man had stolen firearms from the home — which belonged to his parents — and left a note threatening to kill police officers and as many other people as he could in San Francisco.

Police said Hamilton is diagnosed with schizophrenia.

After learning of the threat, San Jose police immediately notified their counterparts in San Francisco, and both police departments are looking for Hamilton.

Officers located Hamilton in the area of Fourth and King streets Friday, just blocks from the San Francisco Giant’s home, and recovered two firearms upon his arrest, police said.

San Francisco police tweeted shortly after 7 a.m. that Hamilton had been taken into custody.

Dustin Hamilton was taken into custody by #SFPD officers without incident this morning in San Francisco following a tip from a community member. Two firearms were recovered at the scene. #SF pic.twitter.com/UL5rUZZpPD — San Francisco Police (@SFPD) April 6, 2018

The San Francisco Police Department issued a statement around 11 a.m. Friday, clarifying that Hamilton was detained without incident after several community members called in to provide details on his whereabouts.

The SFPD said they have notified the SJPD investigators of Hamilton’s arrest and are working together with them in this case, with SFPD being the lead agency.

Hamilton will be booked into the San Francisco County Jail on warrants and additional charges may be pending, according to SFPD spokespeople.