Heelllppp, please!

I am looking for information on when, how and why Witchcraft became legally recognized as a religion. I’m looking for this information for a school report, and also, because the more I search, and the more trouble I have finding information on the subject, the more curious and frusterated I get! Can anyone help?