A Turkish government official says police have detained a 22-year-old French woman after she crossed into Turkey from Syria where she had joined the Islamic State militant group and married a fighter.

The official said Friday that Sonia Belayati was detained earlier this week in Sanliurfa province by police who were acting on information provided by French authorities. He said she would be deported to France.

According to the official, the woman had traveled to Syria through Turkey in March and married a foreign IS fighter. She soon left him and spent several weeks in a IS prison. The woman was detained after sneaking back into Turkey.

The official spoke on condition of anonymity because of rules requiring prior authorization to speak to the media.