Following a ruling by the Federal Administrative Court, a single patient in Germany’s medical marijuana program has been given permission to cultivate his own cannabis for personal use.

For the very first time, Germany has given legal permission for a patient to cultivate cannabis for personal use. While Germany does have legal medical marijuana, with currently more than 900 patients that have been approved for the program, its medical regulatory body has up until now required that patients purchase medicinal cannabis from a pharmacy.

Arguing that the monthly costs of medicinal cannabis were too high for him to afford, a multiple sclerosis patient from southwestern Germany, known only as Michael F., filed multiple lawsuits over a 16-year period, seeking permission to grow his own. He needs the medical cannabis to help manage his symptoms, which include spastic paralysis, speech disorders, and depressive disorders, but the costs, which were reportedly around 1,500 euros (approximately $1645 U.S. dollars), were unmanageable.

In April, and in response to the lawsuits, Germany’s Federal Administrative Court ruled that the government’s medical regulatory body, the Federal Institute for Drugs and Medical Devices (BfArM), must “allow the claimant to grow cannabis, harvest the drug, and use it for the medical purpose of his treatment.”

The BfArM confirmed this month that on September 28 Michael F. had been awarded a temporary permit to grow up to 20 cannabis plants at a time in his bathroom for strictly personal use. The permit, which is set to expire after June 30, 2017, required him to install a window grating, strengthen the door to his home for security purposes, and store his harvested cannabis in a safe. It is the first time that the agency has approved such a permit.

For the rest of Germany’s medical marijuana patients, not only are they required to purchase cannabis from a pharmacy, but also they must cover the entire cost of the substance, without any assistance from health insurance. According to German news site DW, one gram of medical cannabis costs around $16.85, or 15 euros.