Bayramli was detained by the State Border Services on May 25, 2017, when crossing the border from Georgia into Azerbaijan, returning home after medical treatment abroad. Authorities charged Bayramli with smuggling undeclared cash. Bayramli denied all charges, claiming they were politically motivated and insisted that the banknotes were planted in her bag.[2]
In her testimony in court Baywamli stated that in October 2016, the security forces had summoned her to the Main Directorate of Organized Crime Department and threatened her with arrest if she refused to stop her "anti-state activities". She linked these threats with her defence of political prisoners in the "Nardaran case" and mentioned that soon after the conversation, she had started receiving threats over the phone and had reported it to law enforcement, but the latter did not objectively investigate the threats.[3]
On January 23, 2018, by the decision of the Gazakh District Court, she was sentenced to 3 years in prison.[4] Her arrest coincided with another arrest made by the Azerbaijani authorities of an opposition journalist and a human rights activist - Afgan Mukhtarli. Both Bayramli and Mukhtarli were arrested in May 2017 at different border crossing points with neighbouring Georgia and were sentenced to prison for smuggling. Both arrests and subsequent imprisonments received widespread international criticism.[5][6][7][8]
Human Rights Watch issued a statement condemning the crackdown against critics of the regime and called on the Azerbaijani authorities to free both detainees.[9][10] They were also considered prisoners of conscience by Amnesty International[11][12]
The US State Department issued a statement condemning the verdict.[13][14] The EU released a statement saying: "a review by Azerbaijan of any and all cases of incarceration related to the exercise of fundamental rights, including the freedom of expression, and immediate release of all of those concerned is urgent."[15] PACE Committee on Legal Affairs and Human Rights also expressed concern about the situation of human rights in Azerbaijan and in particular the imprisonment of Gozel Bayramli.[16]
After serving two years in prison she was granted presidential pardon in March 2019 ahead of the Novruz celebrations, along with 400 prisoners, including 51 political prisoners.[17][18]