A rape suspect who twice won mistrials because key DNA evidence could have come from either him or his twin brother was convicted Wednesday in his third trial.

Darrin Fernandez, 31, was convicted in an April 2001 attack on a Boston woman who said she was repeatedly raped by a man who climbed up a fire escape and broke into her second-floor bedroom while she slept.

Jurors in the previous trials deadlocked, saying afterward that they were unable to agree on whether Fernandez was guilty because DNA from semen found on the woman's pillowcase could have come from either him or his identical twin.

During the third trial, prosecutors urged jurors to consider a "pattern of behavior" they said would distinguish Fernandez from his brother.

Prosecutors introduced evidence they said showed Fernandez committed a series of home break-ins, sexual assaults and attempted sexual assaults with characteristics similar to the rape in 2001.

He had been convicted of an earlier rape for which he is now serving a 10- to 15-year prison term. In that attack, in 2000, prosecutors said Fernandez climbed on two trash barrels he had stacked under the victim's living room window and attacked her as she slept on a couch.

Both victims testified that the man who attacked them engaged in sweet talk or sexual banter as if he was a boyfriend.

Prosecutors did not seek to introduce details of the August 2000 rape during Fernandez' two previous trials on the 2001 rape, saying they didn't want to put that victim through the trauma of testifying again, but they did call her for the third trial. The 27-year-old woman was in court Wednesday and sobbed as the verdict was read.

"There was no doubt he was guilty," she said, asking to not be identified. "It was disgusting that he got off — disgusting. Now, he's not going anywhere."

Prosecutor David Deakin said her testimony was vital.

"The addition of her testimony allowed the jury to see that these two crimes were so similar that the same individual must have committed both crimes," Deakin said.

Fernandez's lawyer, Robert Zanello, did not immediately comment after the verdict.

The jury found Fernandez guilty of three counts of rape, and several other charges related to the attack. Sentencing is set for March 31; he could face a maximum of life in prison.