Stockholm dea 31 December 1839 .