An inmate who claims the entire plea-bargaining system in Texas is unconstitutional lost his first appeal on the issue Tuesday.

But his attorney is promising to take the litigation all the way to the U.S. Supreme Court.