and although clay and webster , the two leading whigs , united in opposing an independent treasury scheme proffered by the van buren administration , they fought so much they paved the way for william henry harrison to snatch the presidency in 1840 .