After being released from the magma chamber and cooling, lava hardens into rock .
(lava; hardens; into rock; T:After being released from the magma chamber and cooling)
lava
hardens
into rock T:After being released from the magma chamber and cooling