When was Prayer Taken Out of Schools?

It did not seem to be such a hard battle to take prayer out of schools. It was actually prohibited to pray in schools in the year of 1963 the decision was made by the courts.