A 25-year-old Seattle man was sentenced to more than 27 years in federal prison for a spree of armed carjackings.