Maybe include the factors you can choose from.
<span>Immigration reform and control act of 1986 is the one. It allowed approximately 3.2 million people to get legal rights to stay in the state.</span>
President Polk wanted California but knew Mexico would not agree to sell it and his only avenue was to start a war (knowing the US would win it).