Tax on vehicle sale

If my vehicle is registered in Texas but I sold it in California, to which state should I pay the sales tax?