Political and religious opposition to creating a Mississippi lottery has been an issue facing state lawmakers for more than two decades, but the need for additional revenues to pay for roads and bridges was strong enough for the state legislature to narrowly approve a lottery.