A federal judge Thursday dismissed a challenge to a new state law requiring more humane treatment for passengers stuck on planes that have been grounded for more than three hours by bad weather or for other reasons.

Northern District of New York Court Judge Lawrence E. Kahn held that the new law, called the Passenger Bill of Rights by its legislative sponsors, is not pre-empted by the federal Airline Deregulation Act of 1978, as a group representing major U.S. passenger and cargo airlines contend.