Several others have been injured and the attacker was wounded by police and is in custody in hospital.