Peel and slice the eggplants. Soak the slices in salt water for 10 minutes, using roughly 1 tablespoon of salt per liter of water.
Peel the potatoes and cut into thin slices.
Wash the chicken legs thoroughly and cut into bite-sized pieces. Place in a roasting pan with the potato slices. Sprinkle with salt, pepper, paprika powder, and Pul Biber.
Cut the tomatoes into slices and chop the garlic. Distribute over the potatoes and chicken.
Drain the eggplant slices, halve them, and layer over the potatoes and chicken. Spread the tomato slices over the eggplant.
Cut the hot peppers and shallots into long wedges and distribute over the vegetables. Sprinkle the fresh thyme and rosemary over everything.
Mix the tomato paste and paprika pulp with roughly 400 ml of water. Pour over the chicken and vegetables. Drizzle the olive oil over the top.
Bake in a preheated oven at 200°C (392°F) for 60 minutes, until the chicken reaches an internal temperature of 74°C (165°F).