10/22/2014 08:40 EDT | Updated 12/22/2014 05:59 EST

Man taken into custody after 8-hour standoff with Vancouver police

VANCOUVER - A Vancouver man is being treated for mental disorder and minor injuries after an eight-hour standoff with police.

Sgt. Randy Fincham says police arrived at an East Vancouver apartment on Tuesday morning after a woman claimed her ex-boyfriend had broken into her home and was acting irrationally.

Fincham says the woman had already left the apartment by the time officers arrived, but the man barricaded himself inside.

The officers negotiated with the 41-year-old man throughout the day, trying to persuade him to surrender to police.

Fincham says around 6:30 p.m., the man jumped from the second floor apartment and ran off.

Police shot the man with beanbag rounds and took him into custody.