Birds emerged as an offshoot of the dinosaurs during the middle Mesozoic period, at least 150 mya.