Strain custard into prepared cake pan
Spoon cake batter on top of custard
Bake for about 30-40 minutes, until jiggly but set. If the cake browns too quickly, cover with aluminum foil while you continue to bake.
Let cool completely, then refrigerate for at least 8 hours or overnight
To remove the flan, run an offset spatula or knife around the circumference of the cake. Flip a serving plate over the cake pan, and turn the entire flan over onto the plate.