Rebbe Yisroel Hopsztajn, the Maggid and founder of the Kozhnitz dynasty, and one of the three "patriarchs" of Polish hasidism, was a disciple of Rebbe Elimelech of Lizhensk, author of Noam Elimelech. The Rebbe Elimelech was a disciple of the Rebbe Dovber, the Maggid of Mezeritch, the primary disciple of the Baal Shem Tov, the founder of Hasidism.
Kozhnitzer Magid : Yisroel Hopsztajn, author of the classic Avodas Yisroel.
**Third Kozhnitzer Rebbe : Chayim Myer Yechiel Shapira, the Sorof of Moglenitz—grandson of the Avodas Yisroel : rebbe from 1828 to 1849; descendant ben acher ben, from the Megaleh Amukos, son-in-law of R' Elozor of Lizensk. His father, R' Avi Ezri Zelig Shapira was the son-in-law of the Maggid of Kozhnitz.
****Rebbe Chaim Myer Yechiel Shapira of Drubitch, son of R Avi Ezri Zelig Shapira, son-in-law of Rebbe Yitzchok Friedman of Bohush.
*****Rebbe Avraham Yaakov Shapira of Drubitch and Jerusalem, Drubitcher Rebbe, son of Rebbe Chaim Myer Yechiel Shapira, son-in-law of Rebbe Nosson Dovid Rabinowicz of Partzov.
******Reb Avraham Glasner of Jerusalem, Israel, son-in-law of Rebbe Avraham Yaakov, son of Shimon Glasner who immigrated from Klausenberg with his father, the Dor Revi'i, Rabbi Moshe Shmuel Glasner, great-grandson of the Chasam Sofer.
*******Reb Moshe Shmuel Glasner of Jerusalem, Israel, son-in-law of Reb Avraham Glasner and son of Rabbi Yuda / Yehuda Tzvi Glasner of Los Angeles and Klausenberg, Romania, son of Rabbi Akiva Glasner, son of the Dor Revi'i.
***Fourth Kozhnitzer Rebbe : Elozor Hopsztajn —son of Moshe Elyokim Bri'o Hopsztajn; rebbe from 1849 to 1861.
******Seventh generation of Kozhnitzer Rebbes : Rebbe Aharon Yechiel, son of Rebbe Yerachmiel Moshe. He was rebbe around the same time as his brothers Rebbe Yisroel Elozor and Rebbe Asher Elimelech.
The current Kozhnitzer Rebbe, Rabbi Moshe Shimshon Sternberg is one of the last Hasidicrebbes remaining in the mostly secular Tel Aviv, and is considered by many to be one of gedolei hador. Does outreach work in Tel Aviv; Bnei Brak; Jerusalem; and Upper West Side, Manhattan in New York. Kozhnitz communities in Williamsburg, Borough Park and Sea Gate in Brooklyn also have their own rebbes, all descendants of the Maggid.