Bandić was arrested on 19 October 2014 on charges of corruption, bribery, and organized crime, related to Zagreb Holding, along with two other key members of the Zagreb city council. The case became known as the Agram affair, and was one of two charges against Bandić that ended in an ongoing court proceeding. In his absence, his deputy Sandra Švaljek took the duties of mayor from 19 October 2014 until 26 March 2015. Bandić canceled the authorization that he granted to her because of some disagreements between them. Consequently, Švaljek resigned all of her duties in city. Bandić's second deputy Vesna Kusin took the duties of mayor on 26 March 2015. On 10 April 2015, the Zagreb County Court ruled that Bandić had to be released from prison while the case was pending trial. Bandić then returned to the position of mayor.