Proceedings on the third reading of the Bill began at 9.15pm. Home Secretary, Theresa May, moved the motion for debate. Shadow Home Secretary, Yvette Cooper, responded on behalf of the Opposition.
MPs voted 449 to 33 on division (Division Number 39) to approve the third reading of the Bill. The Bill completed it passage through the Commons.
Proceedings on the Committee Stage of the Bill began at 5.16pm. Minister of State at the Home Office, James Brokenshire, opened the debate.
The Data Retention and Investigatory Powers Bill Money Resolution was agreed without division.
Proceedings on the second reading of the Bill began at 1.51pm. Home Secretary, Theresa May, moved the motion for debate. Shadow Home Secretary, Yvette Cooper, responded on behalf of the Opposition.
MPs voted 498 to 31 on division (Division Number 36) to approve the second reading of the Bill.
Business of the House Motion
Proceedings on the Business of the House Motion for the Bill began at 12.45pm. Minister of State at the Home Office, James Brokenshire, moved the motion for debate.
MPs voted 436 to 49 on division (Division Number 35) to approve the motion.
Summary of the Data Retention and Investigatory Powers Bill
The Bill seeks to make provision, in consequence of a declaration of invalidity made by the Court of Justice of the European Union in relation to Directive 2006/24/EC, about the retention of certain communications data; to amend the grounds for issuing interception warrants, or granting or giving certain authorisations or notices, under Part 1 of the Regulation of Investigatory Powers Act 2000; to make provision about the extra-territorial application of that Part and about the meaning of "telecommunications service" for the purposes of that Act; and for connected purposes.
The text of the Bill, together with related documents, are available on the Parliament website.
House of Commons Briefing
The House of Commons Library produces briefing papers to inform MPs of key issues. The papers contain factual information and a range of opinions on each subject, and aim to be politically impartial. The Library has published the following briefing paper on the Bill.
Progress of the Bill
This Government Bill was announced on 10 July 2014. It was presented to Parliament on Monday 14 July. This is known as the first reading and there was no debate on the Bill at this stage.
All Commons stages of the Bill took place on Tuesday 15 July. Following the Business of the House Motion, proceedings on the Bill began with the second reading - the first opportunity for MPs to debate the main principles of the Bill. This was followed by a money resolution, committee stage and then third reading.
The Bill has moved to the House of Lords for consideration. Second reading on the Bill in the Lords is scheduled to take place on Wednesday 16 July 2014.
Passage of a Bill
Find out how a bill becomes an Act of Parliament.
Watching proceedings from the public gallery
UK residents and overseas visitors can watch proceedings in the House of Commons by visiting the public gallery.
This article was produced by the Commons Digital Outreach Team. Follow the @HouseofCommons on Twitter for updates on the UK House of Commons Chamber.