After being apprehended , Wojtowicz was convicted in court and sentenced to twenty years in prison , of which he served six .
After being arrested , Wojtowicz was convicted in court and sentenced to twenty years in prison . He served six years .