Answer :
a tax collector asked him to pay six years of tax. well,Thoreau refused due to his opposition to the Mexican–American War n' slavery, so he spent a night in jail because of his refusal.
i think answer is d he refused to pay a pool tax as a protest against the mexican american