Heat oil or ghee in a large pot over medium heat.
Sauté the chopped onions until they turn golden brown.
Add minced garlic and sauté until fragrant.
Mix in chopped tomatoes and cook until they soften.
Stir in the turmeric, cumin, coriander, and black pepper.
Add the chicken pieces and green chilies, seasoning with salt.
Pour in chicken stock and add the cardamom pods and cinnamon stick.
Bring to a boil, then cover and simmer until chicken is cooked through.
Remove the chicken and set aside; stir in the rice.
Place the chicken back on top of the rice, cover, and simmer until rice is tender.
Allow to rest before serving.