The Canadian government says medical marijuana patients will be able to grow their own cannabis under new regulations that come into effect later this month.

Health Canada announced Thursday that patients approved for can register with Health Canada to grow a limited amount of cannabis for their own medical purposes.

The new rules come into effect on Aug. 24.

The regulations are a response to a Federal Court decision earlier this year that found the ban on patients growing medical marijuana to be a violation of their constitutional rights.

Canada has said it plans to legalize marijuana in the Spring of 2017.