HONOLULU (AP) – The Hawaii State Senate passed the so-called Steven Tyler Act on Tuesday. The measure seeks to protect celebrities from overeager paparazzi by creating a civil violation if people take unwanted photos or videos of others in their private moments.

The Aerosmith frontman from Massachusetts asked State Sen. Kalani English to sponsor the legislation after unwanted photos were taken of him and his girlfriend last December and published in a national magazine, causing family drama.

Tyler owns a multimillion- dollar home in Maui, which is part of English’s district. English said the proposal could help increase celebrity tourism in Hawaii.

State Sen. Sam Slom, the body’s only Republican, opposed the measure.

“We have been the butt of many editorials and jokes across the country for this proposed legislation,” he said.

Slom said that senators had fun with the bill but that Hawaii has adequate laws protecting privacy. He called the proposal an attack on First Amendment rights. The National Press Photographers Association and the Society of Professional Journalists were among the media organizations that submitted testimony opposing the bill.