Dahlgren, Bernhard Ullrick, 1784-1824