The was inside the building for four hours as officers negotiated with him.