Terrorism Act 2000
This legislation - introduced by the Labour government - gave a broad definition of terrorism for the first time. The Act also gave the police the power to detain terrorist suspects for up to seven days and created a list of proscribed terrorist organisations.
Corbyn: Voted against it
Anti-terrorism, Crime and Security Act 2001
This was passed after the 11 September attacks in New York. It allowed foreign terrorist suspects to be detained indefinitely.
Corbyn: Voted against it
Fourteen-day detention
This was a measure, contained in the Criminal Justice Act 2003, which allowed the police to question terrorist suspects for up to 14 days.
Corbyn: Voted against it
Control Orders
The creation of control orders was contained within the 2005 Prevention of Terrorism Act. A form of house arrest, control orders were replaced by Terrorism Prevention and Investigation Measures - or TPims - in 2012.
Corbyn: Voted against it
ID cards
Legislation which paved the way for the controversial introduction of ID cards, was introduced by the Labour government in 2006. The coalition government, with Mrs May as home secretary, would go on to scrap the scheme in 2010.
Corbyn: Voted against it
Ninety-day detention
Drafted in the aftermath of the London 7/7 bombings, this legislation - part of the 2006 Terrorism Act - extended the detention-without-charge period from 14 to 28 days. The Labour government was forced to back down after trying to convince Parliament to back 90 days.
Corbyn: Voted against at every stage
Counter-terrorism Act 2008
This legislation gave powers to the police to question terrorist suspects after they had been charged. It also tried to extend detention without charge to 42 days, but the Labour government abandoned this after being defeated in the House of Lords.
Corbyn: Voted against it
Terrorism Prevention and Investigation Measures Act
This was the 2011 legislation used to replace control orders with TPims.
Corbyn: Voted against it
Justice and Security Act 2013
This legislation granted controversial new powers to close court doors on the grounds of national security. It allowed ministers to ask for a "closed material procedure" - an order to bar the public, press and claimant in a case from court.
Corbyn: Voted against it
The Investigatory Powers Act 2016
Referred to as the "snooper's charter" by critics, this legislation allowed for the bulk interception of communications.
Corbyn: Absent from the vote
How many of those did May support?
