(CNN) Iran has released Australian couple Jolie King and Mark Firkin and dropped the charges against them, Australian Foreign Minister Marise Payne said Saturday.

The two social media influencers were detained in July for taking illegal photos with a drone, according to a source with knowledge of the situation.

"For Jolie and for Mark, the ordeal that they have been through is now over," Payne said at a press conference in Sydney.

"They are being united with their loved ones which is a source of great relief and joy to everyone. I can tell you that they are in good health and in good spirits." She added that they've returned to Australia.

CNN affiliate Sky News Australia sent CNN a statement from Firkin and King.

Read More