The Rowlatt Act gave the British government broad powers to arrest and detain Indians for up to two years without trial. It was passed in 1919 over unanimous opposition from Indian members of the Imperial Legislative Council. Gandhi called for a nationwide non-cooperation movement against the act, known as the Rowlatt Satyagraha. The movement had to be cancelled in some provinces where it led to riots, especially in Punjab. The act faced widespread condemnation from Indian leaders and was an attempt by the British to strengthen their control and repress the growing nationalist movement.