He remained in office until his death in 1642 ; then Jules Cardinal Mazarin became chief minister .
He remained in office until his death in 1642 ; he was succeeded by Cardinal Mazarin , whose career he fostered .