Wrongful termination can arise if an employer terminates the work connection for factors which can be discriminatory or unlawful.
Retaliation for exercising a lawful suitable, for example complaining of unlawful https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml