The modern diversity of sharks, skates, and rays (Neoselachii) is the result of various diversification and extinction events during the Mesozoic (252-66 Ma). However, the key drivers of their diversity patterns remain poorly understood despite all the progress that has been accomplished in recent years. Here, we show that the interplay of climatic- and tectonic-linked trajectories, resulting in a high shallow marine habitat availability and lower atmospheric CO