Fabric nightclub in Farringdon, London, will reopen after settling a deal with Islington Council to reopen.
The venue was shut down on 6 September after the Metropolitan Police applied to Islington Council for the licence to be reviewed due to "concerns about serious crime" following the death of two teenagers.
The new licensing deal agreed by a district judge at Highbury Corner Magistrates will introduce strict age restrictions and increased anti-drug precautions.
New rulings include: new ID scanning upon entry; denying entry to those aged 19 and under; improved CCTV provisions; and enhanced searching procedures leading to a lifetime ban for anyone found with drugs.
A statement from Islington Council said: "Fabric has offered many new additional conditions to be added to its licence, all of which are designed to ensure a zero tolerance approach to drug possession, consumption and sale within the club. It has also developed a new and detailed ISO accredited Operations Manual setting out how compliance with these conditions is to be achieved, from the top to the bottom of its operation.
Fabric is committed to doing all it reasonably can to ensure that no more of its clubbers come to drug-related harm. It also recognises that there needs to be, and will be, changes to its management structure and accountability."
Almost 160,000 people signed the #savefabric campaign, which was backed by Radio 1 DJ Annie Mac and London's Mayor Sadiq Khan. Over £300,000 was raised to help with the club with accrued legal costs.
The club was due to appeal the decision to revoke its licence on 28 November at a four-day court hearing.
A statement on the Fabric website says: "We are hugely thankful to be able to confirm the news that we have won our licence back. We owe everything to our supporters. We really would not be here today without your unparalleled support and generosity. So many different people stepped up to put their voices to our cause, artists from all corners of the music community, fellow promoters who have put on huge events from us and clubbers from around the world who all united behind us.
So, thank you to all of you. Without the strength of your backing this would not have happened. You saved fabric."
Fabric nightclub set to close after licence revoked >>
Fabric nightclub to appeal against licence revocation >>
London street food market fined £25,000 and banned from selling alcohol >>