For the Cake:
1 cup unsalted butter
1 1/2 cups sugar
4 large eggs
2 1/2 cups all-purpose flour
2 tsp baking powder
1/2 tsp salt
1 cup milk
2 tsp vanilla extract
For the Frosting:
225 gm cream cheese
1/2 cup unsalted butter
4 cups powdered sugar
1 tsp vanilla extract
Preheat the oven to 175°C/350°F. Butter and dust two 9-inch circular cake pans.
Beat sugar and butter together until fluffy. One egg at a time, followed by vanilla. Separately mix the dry ingredients and add them to the batter in batches with the milk.
Pour batter into each pan, then bake for 25 to 30 minutes. Let cool fully.
Beat butter and cream cheese together until smooth to make frosting. Add vanilla and powdered sugar gradually. Layer and frost the cakes when they have cooled.