Former Connecticut Gov. John G. Rowland was ordered to serve 2½ years in prison for hiding his involvement in two congressional campaigns, exactly a decade after he was jailed for illegally accepting gifts.