eventually caught and convicted of brady 's murder , the kid was jailed on the second -floor of the courthouse , awaiting execution , when he shot down two guards and made his getaway on april 28 , 1881 .