The Pannonian Sea was part of the Paratethys Sea that was separated during the later part of the Miocene Epoch (around 10 million years ago).
The Pannonian Sea, for most of its history, was part of the Paratethys Sea. A Miocene uplift of the Carpathian Mountains isolated the sea from the rest of Paratethys (about 10 million years ago).