NORTH SMITHFIELD, R.I. (WPRI) — Two women are accused of attacking a man in North Smithfield over the weekend.

Allyah Harden and Tara Iadevaia were arrested following the incident Sunday at a Railroad Street apartment complex, according to police.

Upon responding to the reported altercation, police determined the pair used a knife to pry open the door of the building with plans to confront an ex-boyfriend of one of the women.

Police allege Harden and Iadevaia made their way up to the man’s apartment and began carving marks into the door with the knife. When he opened the door, the women stabbed the man and used pepper spray on him and two women he was with, according to police.

Police said Iadevaia also used a BB gun to intimidate the victims, which had no markings indicating it wasn’t a real gun.

The women fled the scene after the attack but were later captured by police.

Police said prior to the attack, the ex-boyfriend had a no-contact order against Harden.

Harden, 18, of North Providence, was charged with two counts of domestic felony assault, carrying a dangerous weapon while committing a crime of violence, two counts of felony assault, breaking and entering, conspiracy, domestic disorderly conduct, vandalism, and a violation of a no-contact order.

Iadevaia, 18, of Johnston, was charged with felony assault, breaking and entering, carrying a dangerous weapon while committing a crime of violence, vandalism, disorderly conduct, and conspiracy.