They made all the pregnant women redundant

I was on maternity leave when my company was acquired by a larger company.
They laid off 30% of the employees.
The lay offs came the day I returned from maternity leave.
Included in the lay-offs was every woman who was pregnant, and me (the one who just returned)
5 woman in total.
Then 6 months later they hired a man to do the job I had been doing.
Same job title, same responsibilities.