The iPhone 6 and iPhone 6 Plus have finally been approved by the Chinese government over a week after the new smartphones went on sale in the U.S. and other countries around the world. Apple’s new iPhones will officially hit stores in China starting on Oct. 17, though that hasn’t stopped smugglers from selling the devices in the country at a significant markup.

According to Reuters, the main issue facing Apple in China was concern that the devices included a backdoor that the U.S. government could exploit to spy on Chinese civilians. The Cupertino company also had to confirm the new iPhones weren’t at risk of leaking personal information. China’s Ministry of Industry and Information Technology says it tested the iPhone 6 and iPhone 6 Plus pretty rigorously, which could explain the delays as well.

Now that the iPhone 6 and iPhone 6 Plus have finally been cleared for launch, it should be interesting to see how the new devices perform in China. The big-screened phones are expected to be a hit in the country among consumers who can afford them over budget-priced Android smartphones.