Police say a suspect is being held in a break-in last week of a home in Northwest Washington in which authorities said a man tried to sexually assault a female occupant and threatened her with a Taser and pepper spray.

The man was being held in another jurisdiction Saturday and was not immediately named by D.C. police. A warrant has been issued for his arrest and he will be identified once he is formally charged in the District, according to authorities.

Police said the attack occurred about 10 a.m. Wednesday in the 2700 block of Chesapeake St. NW, when a man knocked on a door and then forced his way inside when it was opened.

Police said the man ran away after threatening to sexually assault the woman, but it wasn’t clear what prompted him to flee. At a news conference earlier this week, District police said the victim did not know the assailant.

But on Saturday, after identifying a suspect, police said the woman did know him. Police did not say where the man was behing held or on what charge.