The S1 heart sound occurs during ventricular contraction as…