Wash the chicken, pat dry and cut into eight parts.
Brown the chicken pieces in olive oil, season with salt and pepper. Add the quartered onions, peeled garlic and thyme sprigs and sauté briefly. Squeeze a lemon, pour in the juice and white wine, put the lid on the pan and stew for 30 minutes. Cut the second lemon into eighths and add to the pan with the olives. Braise for another 30 minutes. Remove the thyme before serving and season with salt and pepper.