When Sweden attacked Russia in 1788, Denmark upheld its treaty obligations to Russia and declared war on Sweden. A Norwegian army briefly invaded Sweden and won the Battle of Kvistrum Bridge, before peace was signed on 9 July 1789 following the diplomatic intervention of Great Britain and Prussia. Under their pressure, Denmark-Norway declared itself neutral in the Russo-Swedish conflict, bringing this war to an end.