Police have arrested a man who allegedly attacked two women with a knife and chased them into a Toronto school on Friday afternoon.

Officers got a call around 1:45 p.m. about trouble at the building on Manning Avenue, near Queen and Bathurst streets.

When they arrived, they found two women with knife wounds. The pair was treated in hospital and will recover.

Police said they have a man in custody and continue to investigate.