Instead, it ruled that the 2001 marriages were legal and same-sex marriage was available throughout Ontario immediately: Halpern v. On June 10, 2003, the Court of Appeal for Ontario confirmed that current Canadian law on marriage violated the equality provisions in the Canadian Charter of Rights and Freedoms in being restricted to heterosexual couples.
Same-sex marriage was originally recognized by law as a result of cases in which courts in eight out of ten of Canada's provinces, and in one of its three territories, ruled existing bans on same-sex marriage unconstitutional.
Note that in some of these cases, some marriages were in fact legal at an earlier date (for example, an Ontario ruling held that marriages performed in January 2001 were legal when performed), but the legality was questioned.
As of the given dates, the legality was authoritatively established.
According to the Constitution of Canada, the definition of marriage is the exclusive responsibility of the Federal Government; this interpretation was upheld by a December 9, 2004 opinion of the Supreme Court of Canada (Re Same-Sex Marriage).
Until July 20, 2005, the Federal Government had not yet passed a law redefining marriage to conform to recent court decisions.