and he was the nephew of frederick the first of wurttemberg the first king of wurttemberg