According to the news reports, her transgression was issuing a legal opinion that favored the position of one warring faction in the mayor's office over the other faction's position. Presumably this opinion was based on state law, the Home Rule Charter and city ordinances, and its only flaw was that it was not the opinion one faction in the mayor's office wanted her to issue.