KW40 in 1791