Which dynasty was Gong Zizhen a poet?

Gong Zizhen was in the Qing Dynasty.

Gong Zizhen (1792- 184 1), a native of Renhe (now Hangzhou, Zhejiang Province), was a thinker, poet, writer and reformist pioneer in the Qing Dynasty. He fully supports Lin Zexu's anti-smoking campaign.

A famous poem:

"The Seventh Five-Year Plan of Jihai Miscellaneous Poems" is full of worries and oblique days, which refers to the horizon of the East. I quit my job and go home, just like a flower falling from a branch, but this is not a heartless thing. It can be turned into the soil of spring and can also play a role in nurturing the next generation.

"Ji Hai Miscellaneous Poems" The Qi of Jiuzhou depends on the wind and thunder, and all horses are sad. I advise God to cheer up and not stick to certain norms to belittle more people.