Iran has detained a teenage girl who posted dance videos on Instagram and attracted tens of thousands of followers.

State TV broadcast a video on Friday in which Maedeh Hojabri, 18-year-old gymnast, acknowledged breaking moral norms while insisting that was not her intention, and that she was only trying to gain more followers. It was unclear whether her statement was made under duress.

Shabooneh, a local news website, said Hojabri and three other individuals were detained on similar charges in recent weeks before being released on bail.

She had posted around 300 videos on her account, many of which showed her dancing in both Iranian and Western styles. She also appeared in videos without wearing the obligatory Islamic headscarf. Her performances had thousands of followers on various accounts with her name on them, ranging from 12,000 to 66,000 followers. None of the accounts were verified.