Preheat the oven to 175°C (350°F). Grease a loaf pan and line it with parchment paper.
Add the softened butter and sugar to a mixing bowl and beat until light and creamy.
Add the eggs one at a time, mixing well after each addition.
Add the crumbled mawa and mix until well combined.
In a separate bowl, combine the flour, baking powder, and cardamom powder.
Gradually add the dry ingredients to the mawa mixture, mixing until combined.
Pour in the milk and mix until you have a smooth cake batter.
Transfer the batter to the prepared loaf pan and spread it evenly.
Sprinkle the chopped pistachios and almonds over the top.
Bake for 40–50 minutes, or until a toothpick inserted into the center comes out clean.
Let the cake cool in the pan for 10–15 minutes, then transfer it to a wire rack to cool completely.
Slice and serve!