Local legislation that would legalize pari-mutuel gambling at the White Hall Entertainment Center in Lowndes County passed the Alabama Senate on Tuesday by a 18-7 margin.