I got a question for you: In 2004, the Supreme Court of Canada outlawed corporal punishment in all schools, public or private. The practice itself had largely been abandoned in the 1970s when parents placed greater scrutiny on the treatment of children at school. The subject received extensive media coverage, and corporal punishment became obsolete as the practice was widely seen as degrading and inhumane. Despite the fact that the tradition had been forgone for nearly 30 years, legislation banning the practice entirely by law was not implemented until 2004.

Answer this question: when was the strap banned in ontario schools?
Let's think first:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
To answer the above question, the relevant sentence is: In 2004, the Supreme Court of Canada outlawed corporal punishment in all schools, public or private.
Therefore, the answer is 2004.