HALIFAX -- Nova Scotia will draft new legislation to replace its pioneering cyberbullying law inspired by the death of teenager Rehtaeh Parsons.

Supreme Court of Nova Scotia Judge Glen McDougall struck down the original CyberSafety Act in December, saying it violated the Charter of Rights and Freedoms.

Justice Minister and Attorney General Diana Whalen said Thursday that the province accepts the act was too broad, and will not appeal the decision.

Whalen said "targeted consultations" will take place over the next several months to ensure the new law protects the public and addresses the concerns raised in the court decision.

The original law was passed in May 2013 in response to public outrage over Parsons' death less than a month earlier. Parsons was 17 when she taken off life-support after attempting suicide.

Her case attracted national attention when her family alleged she had been sexually assaulted in November 2011 at the age of 15 and then repeatedly bullied online after a digital photo of the alleged assault was shared among students at school.