The Scottish Government minister has attracted controversy during his time at the Scottish Parliament.