NEW YORK (CBSNewYork) — Two runaway girls from Ulster County were rescued Sunday after being held prisoner in a Brooklyn home.

A 14-year-old girl and her 15-year-old friend had been missing since Thursday. Police said one of the teens are managed to contact her father on social media.

READ MORE: National Media Coverage Of Gabby Petito's Disappearance Raises Questions About Attention For Missing People Of Color

Her father called police, who traced the message to a home in East New York, Brooklyn.

“THEY FOUND MY GIRL!!!!!!!!!!!!!!!!!!!!!” the younger girl’s father wrote on Facebook.

READ MORE: Police Searching For Missing Long Island Teenagers Freddy Turcios-Funes, Alexandra Baca-Funes

An East New York neighbor who did not want to go on camera told CBS2 she was shocked to hear what happened.

“This is a friendly block, so everybody knows everyone, but there’s nothing going on in front of the house to make you think to make you think something like that was going on,” she said.

Police said two men and a woman – Donald Jackson, Rudy Rocker, and Berisa Nebahate, all 19 — had been arrested and charged in the case. They were charged with compelling prostitution, sex trafficking, promoting prostitution, labor trafficking, acting in a manner to injure child under 17, police said.

MORE NEWS: Gravity Of Gabby Petito's Killing Hits Long Island's Blue Point: 'It's Kind Of Like A Shattered Community'

Rocker was also charged with assault, Nebahate with criminal possession of a weapon, police said.