Iowa Code § 907.11
Maximum period of confinement
In no case shall the total time served in confinement and in any locally administered correctional program exceed the maximum period of confinement authorized for the public offense of which the defendant stands convicted.
[C79, 81, §907.11]