It is well known Riina was "sold" to the carabinieri by Bernardo Provenzano.
There was much more people involved in that , not just Provenzano , even Riina's son called out Provenzano once in court .
Yes the highest level of the Italian State, I believe Binnu didn't have a choice he had to give him up. The Italian people were outraged after the terror campaign. After Riina he could seize power and oversee a return to more traditional Mafia practices.