French police briefly detained a 16-year-old who posted an unauthorized translation of the latest Harry Potter book online, a prosecutor said Wednesday.

The high school student from the southern city of Aix-en-Provence was picked up Monday based on a complaint from police in Paris, said Aix Prosecutor Olivier Rothe. The boy was released Tuesday after questioning.