When did that happen?
1830's wasn't it?
Other examples of wars where there was no nation-building, just kicking the bad guys: The 67 & 73 Jewish Wars against the neighboring Arab states. The Falklands War between Britain and Argentina....circa early Maggie Thatcher (80ish?).
The Iran/Contra thing where we kicked Ortega's teeth a bit.
Those were much less complicated.
Go in, cuss, break some stuff and leave.
Surprisingly, Israel has better relationships with those nations not occupied, than with those that were. Jordan and Egypt sometimes even seem to swap spit with Israel. Lebanon and Syria, on the other hand, are a bit out of sorts.