An 18-year-old man allegedly stabbed a teenage girl he met online inside her Michigan home for refusing to have sex with him.

The suspect fled the scene but later called 911 and was taken into custody without incident.

The Oakland County Sheriff's Deputies arrived at the Springfield Township home at around 12:11 a.m. Wednesday and found the 14-year-old victim bleeding on the floor. She sustained multiple stab wounds to her back and midsection, according to WILX.

While speaking to investigators, the victim reportedly said she met the suspect online before he spoke about traveling from Monmouth, Illinois, to Michigan to meet her in person.

The suspect went to the teenager's house and met her while her parents were not home. The victim's younger sibling was asleep in the house at the time.

When the 18-year-old man realized the teenager was not going to have sex with him, he was enraged and allegedly stabbed the girl multiple times with an 8-inch knife.

The suspect bought the knife Tuesday in White Lake Township just hours before attacking the victim, officials said, as per the outlet.

Following the stabbing incident, the teenager called her parents and informed them about the situation. Deputies responded after the parents rushed back home and called 911.

The girl was rushed to the hospital in critical condition but is now reportedly stable.

The suspect fled the scene following the stabbing. However, he called 911 himself shortly after. He spoke to dispatchers from Waterford Township, after which an officer met him at his location and took him into custody.

The man admitted to investigators that he got angry and stabbed the teenager after she refused to have sex with him, WDIV Local 4 reported.

Oakland County detectives are seeking attempted murder charges against the suspect, who is currently being held at the Oakland County Jail pending arraignment.

Meanwhile, officials warned people about the dangers of meeting someone they have met online and urged everyone to take precautionary measures.

"Meeting in person with people you have met online can be extremely dangerous," Oakland County Sheriff Michael Bouchard said, according to the outlet. "You have no idea of who that person really is or their motivation. Anytime you meet someone via the internet, it is always a very good idea to do so in a public setting, and preferably have someone else with you."

"Do not share personal information like where you live or other items that will allow a person to locate or track you," Bouchard added. "In this situation, this was a juvenile, and for so many reasons, meeting someone in person is a dangerous choice, and we always discourage it."

Police lights
Representation. The lights of a police car. tevenet/Pixabay