A Tennessee district attorney says Justin Timberlake will not face charges for taking a selfie as he took advantage of early voting.

However, the pop star's Instagram post is bringing attention to mixed state laws when it comes to such photos.

A new Tennessee law says voters cannot take photos or video inside a polling place.

New York has a similar law. Photos showing a completed ballot or showing how a person voted are also not allowed in the Empire State.

Federal courts have struck down such bans in several other states.