MSPs debated and voted on a series of amendments to the Tobacco and Primary Medical Services Bill as it reached its final hurdle of parliamentary scrutiny on 27 January 2010.
The most controversial group of amendments related to the banning of the display of tobacco products, with an amendment from Scottish Conservative health spokesperson Mary Scanlon against the move being defeated with 103 MSPs voting against it and 14 voting for it.
The amendment from Scottish Labour's Richard Simpson, calling for tougher legislation against tobacco display, was only defeated with the casting vote of the presiding officer Alex Fergusson. 60 MSPs voted for his amendment and 60 voted against.
MSPs then decided against radio controlled vending machines, preferring to back an outright ban.
They then backed amendments on the establishment of a register of tobacco retailers.
The final grouping of amendments related to the eligibility to provide primary medical services.