up the river
To or in prison, as in They sent him up the river for five years. This phrase originally referred to Sing-Sing Prison, on the Hudson River about 30 miles north of New York City. So used from about 1890 on, it was broadened to apply to any prison by the early 1900s.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.