The Crime and Courts Act 2013 (c. 22) is an Act of Parliament of the Parliament of the United Kingdom introduced to the House of Lords in May 2012. Its main purpose is to create the United Kingdom National Crime Agency which replaced the Serious Organised Crime Agency. Part 2 of the Act relaxes the rules on filming court proceedings under controlled circumstances, and amends the rules on 'self-defence'. It also enacts changes to press regulation in response to the Leveson Inquiry into the ethics and behaviour of the media. The Act has three parts.