Nils Kagg — Swedish military and civil servant