war with America and the finances of the kingdom