Texas.
It was a separate country (after defeating Mexico and winning independence) for ten years before joining the US because it was broke and could sell off pieces of the country (now a state) to the US to pay off its debts.
It joined in 1845, four years before California.