A wrongful act is one that is illegal, immoral, or unjust. He is on hunger strike in protest at what he claims is his wrongful conviction for murder. One of her employees sued her for wrongful dismissal.
https://www.collinsdictionary.com/dictionary/english/wrongful