He walked out of Dhaka Central Jail at Keraniganj around 8:25pm after his bail paper reached the prison, jailer Mahbub Islam told DailyBangladesh.
On November 15, the High Court granted bail to Shahidul Alam in a case filed under the Information and Communication Technology (ICT) Act for spreading 'propaganda' through his Facebook account during the student movement demanding safe roads.
Earlier on October 7, the High Court issued a rule asking the authorities concerned to explain within seven days as to why Shahidul Alam, also Drik Gallery managing director and founder of Pathshala South Asian Media Institute, should not be granted bail in the case.
On September 11, Judge KM Imrul Kayes of Dhaka Metropolitan Session Judge's Court denied bail to the photographer in the case.
Shahidul Alam filed a bail petition with the HC on August 28 through his lawyers.
On September 4, a judge of a two-member High Court bench felt 'embarrassed' to hear the bail petition in the case.
On the same day, the HC bench forwarded the petition to the Chief Justice for a decision.
On September 5, the HC directed the authorities concerned to provide first-class division to photographer Shahidul in jail after hearing the writ petition.
Detectives arrested Shahidul Alam from his Dhanmondi residence on August 5 and the case was filed against him with Ramna Police Station on August 6.