This week, the Tennessee legislature passed a bill to legalize online sports betting.

Here are five things to know about the legalization:

How online sports gambling became legal

Sen. Steve Dickerson, R-Nashville and Rep. Rick Staples, D-Knoxville, introduced the bill to allow online gambling. The legislation prohibits physical sites for placing bets.

The bill passed the Senate on a vote of 19-12. It passed the House 58-37, then some Senate amendments passed the House as well.

Gov. Bill Lee is opposed to the legalization of gambling but will allow the legislation to pass anyway.

When online gambling will be legal

July 1

How online gambling will impact the economy

Tax revenue from the sports gambling industry is projected to bring in an estimated $50 million annually. The funds will be used for education, local government and gambling addition treatment.

Who cannot bet

Individuals must be at least 21.

The bill outlines a list of people prohibited from wagering, including athletes, team owners, people who run gambling operations and anyone with influence over a game's outcome.

If anyone prohibited from wagering makes a bet, the individual could be charged with a misdemeanor.

Where you can place a bet

You must be in Tennessee.

Under the law, technology would require users to enter the state to place sports bets on participating websites.

Online locations are the only place to make bets, as brick-and-mortar locations such as casinos are not legal.

WHAT'S NEXT:Tennessee governor to allow sports betting to become law without signature

VOTE IS IN:Sports betting passes Tennessee House of Representatives after debate over gambling