A 38-year-old Bed-Stuy man turned himself in to police Wednesday night in connection to a rape in Bushwick last weekend, police said at a press conference Thursday. Jason Lasry, 38, is in custody and isn't expected to be arraigned until later tonight, according to a spokesman for the Brooklyn District Attorney's Office.

"He turned himself in," Chief of Detectives Robert Boyce told reporters. "We put out a picture through Crime Stoppers. An individual came in and turned himself in."

The arrest took place at the 77th Precinct Wednesday shortly before 9:00 p.m., according to the NYPD.

Police released footage Wednesday of a man they believe entered a 24-year-old woman's apartment and attacked her while she lay asleep in bed. The woman, whose name was not released, managed to push him off. He subsequently fled, according to police.

The incident took place inside a residential building near the intersection of Halsey Street and Central Avenue around 10:30 a.m. on October 14th. An NYPD spokeswoman told Gothamist the victim did not know the suspect; a police source told DNAinfo the man entered through an unlocked front door.

"He saw his picture in the paper and he came in with his lawyer. Surrendered," Boyce added. "And we're processing him now for first degree rape and burglary, of course."

An NYPD release Thursday included only rape as a preliminary charge.

Lasry has twelve prior arrests, according to police. Eight are sealed. He was charged with marijuana possession three times, in 2002, 2008 and 2009. In 2007, he was arrested for riding a bicycle on the sidewalk.

Attorney information for Lasry was not immediately available.

Additional reporting by Trevor Kapp and Gwynne Hogan.