debian boot entry not deleted after deleting its partition?

I deleted the partition i had debian installed in and used the free space to install windows but now in bios I can still see debian boot entry and when I change it to debian boot entry it takes me to grub minimal bash. How is it possible for debian minimal grub to still be there after deleting the entire partition? where is it stored?