Cutting the leg ends off the headboard (to turn it into a table)

Was going to cut them at the marked line with a circular saw.
 But, felt hitting something hard partway through.
Used a thin abrasive wheel on an air grinder tool to cut through the metal.
Cut the lef a few inches away to check where the metal tab is.
On the other leg, I used my Bosch jigsaw to cut through the wood and metal.
Changed blades for a metal blade when cutting through the metal bracket.
There's a few dozen different blades in this Bosch blade storage box.
I keep this in the jigsaw box.
I already had these Ikea legs, that can be repurposed for this project.
Will need to make some support blocks to go inside the bottom of the table to support the legs.
The support blacks will need to be 1&1/8" thick.