The HolySpirit convicts the sinner of his lost state. He convinces the believer of his righteousness through the shed blood and His infilling. He establishes the availability of Grace and therefore judgment upon those who resist Him.