Who was Barabas?

Barabas was a zealot who had been taken prisoner, he was supposed to be crucified but as Jewish tradition had it the authorities would release one prisoner before the passover. The people had a choice between setting Jesus free or Barabas and they set Barabas free and Jesus died on the cross