Nestle said Tuesday it had restarted production of Maggi noodles in India after a government ban was overturned, in a major step towards getting the hugely popular brand back on shelves.

“We have resumed manufacturing of Maggi Noodles at three of our plants, at Nanjangud (Karnataka), Moga (Punjab) and Bicholim (Goa),” the Swiss food giant said in a statement.

India’s food safety watchdog slapped a nationwide ban on the noodles in June, saying lead levels exceeded statutory limits.

But the Bombay High Court, the highest court in the western city now known as Mumbai, overturned the ruling two months later, calling it “arbitrary” and ordered fresh tests.

In this photograph taken on June 17, 2015, an Indian shopkeeper puts packs of Nestle 'Maggi' instant noodles into a plastic bag in his shop in New Delhi.  Nestle chief Paul Bulcke said that he wanted to see its hugely popular Maggi brand of instant noodles back on the Indian market as soon as possible after it was banned over a health scare. India's food safety regulator on June 5 banned the product after tests that it said showed the noodles contained excessive levels of lead.  AFP PHOTO/Chandan KHANNA
In this photograph taken on June 17, 2015, an Indian shopkeeper puts packs of Nestle ‘Maggi’ instant noodles into a plastic bag in his shop in New Delhi. Nestle chief Paul Bulcke said that he wanted to see its hugely popular Maggi brand of instant noodles back on the Indian market as soon as possible after it was banned over a health scare. India’s food safety regulator on June 5 banned the product after tests that it said showed the noodles contained excessive levels of lead. AFP PHOTO/Chandan KHANNA

Earlier this month Nestle said the laboratory tests had found that Maggi noodles were safe to eat.

In its statement to the Bombay Stock Exchange on Tuesday, Nestle’s Indian arm added that fresh samples from the newly produced batches will be sent for testing.

“We shall commence sale only after the samples are cleared by these laboratories,” it said.

Although it’s not clear when the noodles will be back in Indian shops, an official at the company told AFP on condition of anonymity that the testing process would take a few weeks.

Nestle had sold the product for over three decades in India and had 80 percent of the country’s instant noodle market before the ban.

Indian commuters pass a banner bearing the name of the Maggi Nestle noodle brand in Mumbai on June 15, 2015. Nestle is challenging a ban imposed by India on its hugely popular Maggi instant noodles brand after tests showed they contained excessive levels of lead.  AFP PHOTO/ Indranil MUKHERJEE
Indian commuters pass a banner bearing the name of the Maggi Nestle noodle brand in Mumbai on June 15, 2015. Nestle is challenging a ban imposed by India on its hugely popular Maggi instant noodles brand after tests showed they contained excessive levels of lead. AFP PHOTO/ Indranil MUKHERJEE

Nestle’s Indian arm has estimated that its run-in with Indian regulators will cost the company 3.2 billion rupees ($50 million).

The company has always maintained the product was safe to eat and has continued to sell it in other countries.