Württembegian protestant pastor, regional historian and writer (1799-1861)