SCOTTSDALE, AZ — Prosecutors say they have filed paperwork to dismiss the charges against a man accused of holding a woman against her will in what officers described as a 'sex dungeon.'

A spokeswoman for the Maricopa County Attorney's Office confirmed the filing and said prosecutors reserved the right to refile against Jason Smith at a later date.

Smith was arrested earlier this month after police say a woman told them he had shocked her, hit her with a bullwhip, and made to sleep in a cage since February.

The victim told police she was homeless at the time she met Smith on a dating website.

In exchange for being allowed to live there, Smith reportedly forced the victim to sign a contract that said she was not allowed to have a job or money. Smith also allegedly placed a shock collar on her and shocked her on multiple occasions.

The victim also told detectives the contract stated that he could “use as much force as he wanted against her" and she had to refer to him as "master" and herself as "the slave." When she told Smith she did not want to sign it, he threatened to kick her out of the home.

The victim told police the two had a consensual sexual relationship.