Jesus said to the mob, “Why do you come with swords and clubs to arrest me like a criminal? Day after day I sat and taught in the temple, and you didn't arrest me.
He freed the man who was in jail for rioting and murder, because he was the one the crowd wanted to be set free. Then Pilate handed Jesus over for them to do what they wanted with him.