2 : to exact satisfaction for (a wrong) by punishing the wrongdoer
Merriam-Webster
I think we are both correct. But the context also speaks to what is meant here, 2.