A Nebraska judge ruled Wednesday the law allowing the controversial Keystone XL oil pipeline to be built across the state is unconstitutional, a move that could further delay the project.

Lancaster County District Court Judge Stephanie Stacy sided with three landowners who argued Nebraska's governor shouldn't be able to sign off on the pipeline's route. The governor, Republican Dave Heineman, was handed that power in a law the state...