A federal appellate court has upheld a lower court ruling for IMDb.com Inc. finding that a California law aimed at fighting age discrimination in the entertainment industry is unconstitutional.

The U.S. Court of Appeals for the Ninth Circuit found Friday that California’s AB 1687, which would force the publisher of the Internet Movie Database to honor the request of anyone who uses its paid professional networking site to remove all age information from the public-facing IMDb.com, violated the First Amendment.