Former senator Faisal Raza Abidi was released from Adiala jail on Saturday.
On December 20, the Islamabad High Court had granted him bail in two cases of contempt of court for the remarks he made against Chief Justice Mian Saqib Nisar.
A trial court had approved his bail in the third case on Friday.
His bail was approved after a medical report confirmed that Abidi is suffering from multiple illnesses.
Recently, the Supreme Court closed the suo motu proceedings against him, after accepting his apology.