The European Court of Human Rights has ruled that Bulgarian law regulating secret surveillance by the the police, prosecutors, and military and security agencies is of insufficient quality to protect individuals against violations of the right to privacy, and that the data gathered through secret surveillance operations "could be used for nefarious purposes" due to a lack of safeguards.