LINCOLN, Neb. (AP) — Just as pressure was building on President Barack Obama to make a decision on the Keystone XL pipeline, the project ran into another obstacle.

Once again, it came from Nebraska.

A judge on Wednesday overturned the Nebraska law that had allowed the pipeline to proceed through the state.

The ruling guaranteed the legal fight will continue for at least several more months. It also could leave Nebraska's decision in the hands of an obscure state commission that regulates natural gas lines, grain warehouses and RVs.

The pipeline would carry oil from Canada to Texas refineries.

The ruling was a victory for opponents, including Nebraska landowners who filed a lawsuit challenging the law.

The state plans to appeal the ruling.

More From KOWB 1290