A 26-year-old man was charged Tuesday with breaking into a home in Northwest Washington last week and trying to sexually assault a woman as she was sleeping, according to D.C. police.

Authorities said the woman awoke to see a man standing over her bed and that she fended off the attack.

Domingo Martinez, of Northwest, was charged with assault with intent to commit first degree sexual abuse and burglary, police said. At a D.C. Superior Court hearing Tuesday, a judge ordered the suspect detained until a preliminary hearing May 29.

Police said the attack occurred May 16 in a house on 14th St Northwest, in the Brightwood neighborhood across from Rock Creek Park. Police did not give details of the incident or say how they identified a suspect.