After the assassination of Milorad Drašković, the Yugoslav Minister of the Interior, by a young communist named Alija Alijagić on 2 August 1921, the CPY was declared illegal under the Yugoslav State Security Act of 1921.