Cut the chicken into 8 or 10 pieces, add salt and pepper. Peel and chop onion and garlic. Grate carrots and celery or chop them in a food processor. Chop the herbs (rosemary, thyme, parsley).
In a large saucepan, heat up the oil and brown the chicken parts on all sides for about 5-6 minutes total. Take out the chicken pieces and set them aside. Leave the oil in the saucepan.
Make the sofrito. Put the onion, carrot, celery, and garlic in the same saucepan you used for the chicken, and saute them for about 10 minutes, until all the liquids evaporate.
Add the wine, peeled tomato, rosemary sprigs, and half of the thyme to the vegetables. Stir it, add salt and pepper, and saute the mix for one or two minutes.
Transfer the chicken pieces back to the sauce. Stir it until the sauce covers the meat. Add salt, pepper, and grated nutmeg to taste. Cover and simmer on low for 30-35 minutes until the chicken cooks through properly. Add ½ cup of chicken stock or water if the liquid is not enough.
When the chicken is cooked through, add the chopped parsley and the remaining thyme. Stir once again and serve it hot.