A study published in the journal Nature Communications suggests that dinosaurs were in decline for as many as 10 million years prior to the Chicxulub, Mexico asteroid.

Source: Before an asteroid wiped them out, dinosaurs were already in decline: study