The Ayr by-election on 16 March 2000 was the first by-election for the Scottish Parliament that had been established the year previously. It was caused by the resignation of Ian Welsh who had been elected at the 1999 Scottish Parliament election. Welsh resigned to spend more time with his family.