CHICAGO (AP) — Authorities say a suspect is in custody after shots were fired outside a Chicago hospital and that no one was hurt.

Police spokesman Tom Ahern says the man began shooting outside the Jesse Brown VA Medical Center on Monday afternoon and then tried to enter the lobby. Ahern says security officers apprehended the man near the hospital entrance.

Ahern says no one was injured and authorities recovered a rifle that the man is believed to have used.

Police took the man into custody. Ahern says investigators haven’t determined what led to the gunfire or who the man might have been targeting.

The 200-bed hospital on Chicago’s West Side provides care to about 62,000 military veterans.