Slang meaning of up the river

up the river means: In prison or jail. They sent him up the river for 20 years for his part in the heist.