363 members voted in favour of the bill, 166 against and one abstention, following a day of heated exchanges, repeated adjournments and high drama in the House.