A Rhode Island man who authorities say raped a 16-year-old girl last week inside her Maple Street apartment turned himself into an investigator on Wednesday and was later released without bail.

Dominek Greene, 21, whose last known address was an apartment on Newland Avenue in Woonsocket, R.I., was charged with three counts of rape and one count of entering a dwelling for a felony by false pretenses, as well as assault to rape and aggravated rape.

At Greene’s Milford District Court arraignment, Judge David Locke ordered Greene, wearing a gray sweatshirt and jeans, to have no contact with the alleged victim. He is due back in court on Aug. 1 for a pretrial hearing.

Greene entered the girl’s apartment through her bedroom window at about 1:45 a.m. last Thursday, forced her to perform oral sex and then raped her, according to a police report.

The girl initially called out to Greene believing he was one of her friends, police said. Authorities said Greene acknowledged her as if he was the friend. When he came inside, police said, the girl realized Greene was a stranger.

Greene then referred to himself as "Dee Greene," according to the police report.

Bellingham Police say that earlier four suspects broke into Scandia Kitchens Inc., one of the businesses housed in the old mill at 38 Maple St. They said they recovered four sets of shoe impressions from the scene. At some point, the suspects triggered a sprinkler valve, police said, prompting them to flee.

Investigators believe Greene stopped at the girl’s apartment shortly after the break in. A set of shoe impressions taken from the mill is consistent with a set lifted from the girl’s apartment, police said.

This week, Woonsocket Police arrested Greene on a charge of failing to appear in court. Two Bellingham detectives interviewed him as a potential suspect, but before they could get a warrant for his arrest, Greene was released from custody.

During the interview, Greene allegedly said he met the girl last Thursday at a party. They walked home together, and she invited him into her bedroom through the window, police said.

Greene said the sex was consensual, according to police.

The detectives said Greene told them he acted as the "look out" for a group of people while they broke into a large mill.

The girl told investigators she never met Greene and did not go to a party on Wednesday night or Thursday morning.