The American Civil Liberties Union of Maryland is threatening to sue Baltimore police over their actions at last year’s Preakness Stakes, where a man says officers took his cell phone and deleted his personal videos after he tried to videotape officers during their encounter with a female friend.

Maryland’s prison agency said Wednesday it will no longer ask prospective correctional officers for the keys to their social media accounts after the American Civil Liberties Union complained that requiring job applicants to divulge Facebook usernames and passwords violates privacy laws.