Prosecutors say the woman was attacked after Lucas brought a pizza to an Upper West Side apartment early on Sept. 29, 2012. They say he got into the sleeping victim's nearby apartment and raped her while her child was asleep in the same bed.

Prosecutors say Lucas also pleaded guilty to burglary for breaking into another woman's apartment and stealing her wallet after making a delivery to one of her neighbors in August 2012.