Central Florida State Attorney Aramis Ayala is suing Gov. Rick Scott in federal and state courts over her removal from nearly two dozen death-penalty cases, including the high-profile case of accused cop-killer Markeith Loyd.

Ayala filed lawsuits Tuesday in federal court and the Florida Supreme Court challenging Scott’s authority to strip her office from handling the cases, arguing that prosecutors have broad discretion in deciding whether to seek death for defendants accused of first-degree murder.