for the duration
idiomDefinition of for the duration
: until the end of something
He was living in England when the war began and remained there for the duration.
—often + of The camera remained on the President for the duration of his speech.