Cook the chickpeas till done in sufficient water in a pressure cooker.
Heat another pressure cooker, add the oil and saute the onions and green chillies till it becomes brown.
Add the ginger and garlic pastes and saute for a minute.
Add the chicken legs and give it a gentle mix. Now sprinkle the masalas except the garam masala and also add the tomato on top.
Mix it very well, add some salt, close the pressure cooker and cook to one whistle. Switch off and allow the pressure to go off.
Open the lid and heat up the curry. Add the cooked chickpeas along with 1/2 cup of the cooked water into the chicken.
Add the garam masala and adjust the salt. Simmer it for 5 minutes and serve hot!!!