Two people were arrested in connection with a home invasion Dec. 26, and police say the victim was able to reach out for help through social media.

Police said that on Dec. 26 at about 12:10 a.m., they received a report about a threatening incident involving a gun at a West Main Street home. Police received the complaint from a person who had been notified of the incident through a social media messenger account.

Officers arrived at the home and found an unwanted man and woman in the home with the victim.

Officers spoke with the victim, who told them that at about 10:15 p.m. on Dec. 25, three men and a woman entered his home without his permission to collect a debt that was owed to the woman, Cassandra Vitale, 26, of West Haven. One of the men, Sean Artis, 32, of New Haven, told the victim he had a gun and if the victim tried to contact the police he would kill him.

“The victim was able to send a message through the social media messenger account to a friend about the incident, and the friend was able to contact police,” according to a police press release.

The two other men had left the residence before police arrived, and police are still working to locate them.

Artis is accused of being in possession of a a BB gun, which was recovered from his jacket. Artis and Vitale are also accused of being in possession of crack cocaine, heroin and drug paraphernalia, police said.

The two were charged with home invasion, conspiracy to commit home invasion, threatening, possession of a facsimile firearm, and possession of narcotics and drug paraphernalia.

Both were held on a $200,000 bond to appear in Milford Court on Dec. 26.