I decided that the department had acted illegally.
The department acted illegally and I made a decision about it.