Whether Aryan Khan would walk out of jail today was at the core of a nerve-wracking countdown to the last minute as his legal team rushed to complete bail formalities before 5.30 pm.
That is the deadline for the jailer to receive the release order for Aryan Khan. If that deadline is missed, he has to spend another night in Mumbai's Arthur Road jail, where he has spent 22 days.
His father, superstar Shah Rukh Khan, left his Mumbai home Mannat around 3.40 pm for Arthur Road jail.
Actor Juhi Chawla, Shah Rukh Khan's co-star in many movies, stood surety for Aryan, who was asked to pay a bail bond of Rs 1 lakh.
The papers were necessary for a special anti-drugs court to sign the release papers.
From there, Aryan Khan's lawyers rushed to make it to Arthur Road jail and deposit the release order in a box that is opened twice a day - at 10.30 am and 5.30 pm.
Outside Mannat, a huge contingent of the media waited for the return of Aryan Khan, who left home on October 2 for a cruise party and was arrested in the early hours of October 3 after a drugs raid.
Aryan Khan cannot leave Mumbai without informing the police and has to appear before the Narcotics Control Bureau (NCB) every Friday, the court said, listing 14 conditions for his bail.
The conditions include not leaving the country without permission, "not indulging in similar activities, not communicating with other accused like his friend Arbaaz Merchant, and not talking to the media.
Aryan Khan also has to go to the NCB office every Friday between 11 am and 2 pm, attend court hearings and join investigations whenever required.
If any of these conditions are violated, the court says, the NCB can request cancellation of bail.
Arjun Kapoor Recalls He Purchased Shah Rukh Khan's Mohabbatein Tickets In Black: "I Was In Class 8 Or 9..." Karan Arjun Completes 30 Years: Shah Rukh Khan-Salman Khan Blockbuster To Re-Release On This Date Nostalgia Alert: Shah Rukh Khan And Preity Zinta's Veer Zaara Completes 20 Years Of Release Who Is Tulsi Gabbard, US Intel Chief Who Will Oversee 18 Spy Agencies Video: Mother Leopard Fights A Lion Head-On, Saves 2 Cubs In Africa Construction Halted, Buses Restricted: Stricter Anti-Pollution Measures In Delhi Lured With Marriage Proposal, Man Killed Over Parking Dispute In Ghaziabad Bags Of Mallikarjun Kharge, Nana Patole, Uddhav Thackeray Checked Amid Row This Trump Pick Might Spell Trouble For Indian Techies, H-1B Visa Seekers Track Latest News Live on NDTV.com and get news updates from India and around the world.