 Most provinces repealed their bans in the 1920s, though alcohol was illegal in Prince Edward Island from 1901 to 1948.By comparison, Ontario's temperance act was in effect from 1916 to 1927.As legislation prohibiting consumption of alcohol was repealed, it was typically replaced with regulation imposing restrictions on the sale of alcohol to minors, and with excise taxes on alcoholic products.