They were greeted outside the Tihar jail by a group of JNU students.
"Both Umar and Anirban were released from jail number 3 around 8:30 PM," a Tihar jail official said.
They were released hours after a city court granted them interim bail for six months on ground of parity with JNUSU president Kanhaiya Kumar.
Umar and Anirban had surrendered before police on the night of February 23 and they were subsequently arrested in connection with the sedition charge.
More From This Section
Kanhaiya, who was also charged with sedition, was granted bail earlier this month.
Granting bail to Umar and Anirban, the court observed that the "role attributed" to Kanhaiya does not appear to be different from the allegations levelled against these two accused.
The court also directed Umar and Anirban not to leave Delhi without its permission during the period of interim bail and to make themselves available before the investigating officer as and when required for the purpose of the probe.
Almost all the Opposition parties had come down hard on the BJP-led NDA government accusing it of muffling free speech and trying to impose RSS-backed ideology. Kanhaiya's arrest had also triggered a debate on nationalism.