In 1831 , following his resignation as Secretary of State , which aided Jackson in resolving the Petticoat affair , Jackson gave Van Buren a recess appointment as American minister to Britain .
Martin Van Buren was Secretary of State .