Build the marinade. In a large glass or ceramic baking dish, combine the olive oil, sherry vinegar, garlic, oregano, bay leaves, olives, capers, caper brine, dried apricots, salt, and black pepper.
¼ cup extra-virgin olive oil, ¼ cup sherry vinegar , 6 cloves garlic , 1 tablespoons dried oregano, 2 bay leaves, 5.7 ounces pitted Castelvetrano green olives, ½ cup capers with brine, 6 ounces dried apricots, 1 teaspoons kosher salt, ½ teaspoons freshly ground black pepper
Marinate the chicken. Add the chicken thighs and turn several times to coat thoroughly. Arrange skin-side up, cover, and refrigerate for at least 4 hours, preferably 8 to 24 hours.
8 bone-in skin-on chicken thighs
Preheat the oven. Heat the oven to 375°F (190°C). Remove the chicken from the refrigerator while the oven heats.
Prepare for roasting. Arrange the chicken skin-side up in a single layer. Tuck the apricots, olives, capers, and bay leaves around the thighs, leaving most of the skin exposed. Sprinkle the brown sugar evenly over the chicken and pour the white wine around the edges of the pan.
¼ cup packed light brown sugar, ½ cup dry white wine
Roast the chicken. Bake uncovered for 45 to 55 minutes. About halfway through cooking, spoon some of the pan juices lightly over the chicken.
Check for doneness. Roast until deeply golden and the thickest part of the thighs registers 175°F to 185°F (79°C to 85°C). Chicken is safe at 165°F (74°C), but thighs become more tender at the higher temperature.
Rest the chicken. Let stand in the pan for 5 to 10 minutes before serving.