I'm afraid that an employee have no legal claim here.  The reason is that the majority of employment arrangements are "at will".  This means that an employee can work for an employer or not, their choice.  In turn, an employer can hire or fire and employee for any reason or no reason at all, with or without notice.  Exceptions to this would be: 1) if there is a union agreement that prohibits such action; 2) if there is an employee contract or company policy that does not allow for this; or 3) if discrimination is a factor.  Note: The fact that a person of the equal statuts fired you has no bearing (although it is somewhat unprofessional).