The <a href="https://en.wikipedia.org/wiki/Treaty_of_Cahuenga" id="mwZg" rel="mw:WikiLink" title="Treaty of Cahuenga">Treaty of Cahuenga</a> ends the <a href="https://en.wikipedia.org/wiki/Mexican–American_War" id="mwZw" rel="mw:WikiLink" title="Mexican–American War">Mexican–American War</a> in <a href="https://en.wikipedia.org/wiki/California" id="mwaA" rel="mw:WikiLink" title="California">California</a>.