Prosecutors say an 18-year-old has admitted raping a woman in her Manhattan apartment after delivering pizza to one of her neighbors.

Manhattan district attorney Cyrus Vance Jr.'s office says Cesar Lucas pleaded guilty Tuesday to rape and other charges. His lawyer didn't immediately return a call Tuesday evening.

Prosecutors say the attack happened 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.

He's due to be sentenced June 9.