SAN FRANCISCO (CBS SF) — For several hours, police have been in communication with an armed suspect inside a vacant office building, during a standoff in San Francisco’s Tenderloin neighbornood.

It all started when a man armed with a knife got into a confrontation with police early Tuesday, and fled into a vacant office building after officers fired upon him, according to authorities.

“We are in communication with the subject and are working to create a peaceful resolution,” said San Francisco police spokesman Officer Robert Rueca, in a statement Tuesday afternoon. “We do not have information as to whether the subject is injured.”

Rueca said his agency received 911 calls around 6:36 a.m. of a man waving a knife in the 600 block of Jones St.

Officers arrived on the scene and made contact with the man.

“Officers made contact with the suspect, during the contact the officers had an officer-involved shooting,” Rueca said. “A foot pursuit occurred shortly after that.”

The suspect outraced police for several blocks before ducking into a building on Ellis St.

“He’s barricaded himself in the building,” Rueca said. “We know where in the building the suspect is and we are in contact with him.”

SWAT teams and police negotiators were on scene. Rueca said that there was no one in the building and officers did not know if the suspect was wounded in the officer-involved shooting.