The UN Rules for the Protection of Juveniles Deprived of their Liberty, adopted by the General Assembly in December 1990, "are intended to establish minimum standards accepted by the United Nations for the protection of juveniles deprived of their liberty in all forms, consistent with human rights and fundamental freedoms, with a view to counteracting the detrimental effects of all types of detention and to fostering integration in society."