 In 2012, the Human Rights Council requested the Working Group on Arbitrary Detention to develop draft basic principles.These were to provide guidelines on remedies and procedures for anyone deprived of his or her liberty by arrest or detention to bring proceedings before court, in order that the court may decide without delay on the lawfulness of his or her detention and order his or her release if the detention is not lawful.The intention behind these were to assist states in fulfilling their obligation to avoid arbitrary deprivation of liberty.