A key legislative hurdle has been passed as Canada moves closer to legalizing recreational cannabis.
Canadian senators passed the Cannabis Act by 56 votes to 30 with one abstention after studying the landmark legislation for six months.
Prime Minister Justin Trudeau has committed to making marijuana legal by this summer.
Canada will be the first G7 nation to legalese recreational use of the drug. Medical use has been legal since 2001.
The vote on Thursday sends the bill back to the House of Commons, where members of Parliament will decide whether to accept the dozens of amendments added to the legislation by the Senate.
The vote had been expected to be close, and the Trudeau government moved on Wednesday to shore up support by assuring indigenous senators it would address significant concerns they had with bill.
That included committing more resources to mental health and addiction services for indigenous people in Canada.
Canadians will still have to wait up to 12 weeks after the bill finally becomes law before they can purchase recreational cannabis.
Provinces and territories are responsible for various elements of the retail market, including how marijuana will be sold and whether users can smoke in public.
They are expected to need that time to set up the new marketplace.
Various estimates suggest Canadians will be able to legally buy cannabis by late August or early September.
Canadians, especially the young, are among the world’s heaviest marijuana users.
Ottawa says legal pot under a new strict regulation regime will make it easier to keep it away from young people, to deprive organized crime of drug money, to reduce the burden on police and the justice system, and to improve public health.
Mr Trudeau’s promise to legalese recreational marijuana has fueled investment and speculation in the cannabis sector, with cultivators like Aphria and Canopy Growth becoming stock market darlings.
Medical marijuana has been legal in Canada since 2001 and is grown by federally licensed producers.