Nigeria’s attorney general on Tuesday ordered the release on bail of an ex-presidential candidate and a former national security adviser, in recognition of court orders that they be released. The move followed growing internal and international pressure on the Nigerian government to abide by court orders. State security had ignored several court orders that former adviser Sambo Dasuki, who has been held since 2015, be released. It also sparked protests earlier this month when it re-arrested activist and former presidential candidate Omoyele Sowore hours after his release on bail. “The two defendants are enjoined to observe the terms of their bail and refrain from engaging in any act that is inimical to public peace and national security as well as their ongoing trial which will run its course in accordance with the laws of the land,” Attorney General and Justice Minister Abubakar Malami said in a statement. The government has accused Dasuki, who served under former president Goodluck Jonathan, of fraud involving $68 million of defence spending. He has pleaded not guilty. Dasuki has been granted bail several times, but the government had refused to release him. In 2016, a judge at the court of the Economic Community of West African States (ECOWAS) ordered his release, saying his detention was unlawful and arbitrary. Sowore, who also founded news website Sahara Reporters, was first arrested in August. He has pleaded not guilty to charges of treason, money laundering and harassing the president. Video of Sowore screaming and shouting as he was wrestled to the ground by security officials in court, only hours after his initial release on bail, circulated widely on social media in Nigeria and internationally. “While I am grateful for reports on Yele’s long overdue release on bail, my number one concern is for his safety,” Sowore’s wife, Opeyemi Sowore, said in an emailed statement. “We remain resolute on Yele being cleared of all baseless charges.” On Monday, the government’s own National Human Rights Commission called on the administration to respect court rulings. Six U.S. members of Congress, including Senate minority leader Chuck Schumer, also wrote to Malami on Dec. 20 that they were “deeply concerned that established legal procedure and the rule of law” were not being followed in Sowore’s case. Nigerian advocacy group SERAP also hailed the move, but called on the government to release others it described as unfairly detained, including journalist Agba Jalingo. “The government cannot continue to pick and choose which court orders to obey,” it said.