 During his education in Danzig (Gdańsk) and Leiden, he befriended Martin Opitz and Andreas Gryphius, both leading figures in 17th-century German poetry.In his later years, Hofmannswaldau involved himself in the city politics of Breslau, rising to the position of Bürgermeister.During his lifetime, Hofmannswaldau's poems circulated mostly in manuscript.