Nebraska has announced its approval of the controversial Keystone XL crude oil pipeline, which is set to run through part of the state.

The state’s Public Service Commission vote was only three to two in favour after a series of hearings and taking into consideration half a million public comments on the matter.

The approval is the last major regulatory hurdle before TransCanada, the company building the pipeline, can begin construction on the project that is supposed to take oil sands from Alberta, Canada, to the American Gulf Coast.

In a twist to the decision, seen as a blow to the efforts of thousands of protesters opposing the pipeline, the commission did not approve TransCanada’s 275-mile (443 km) preferred route through the state but an alternate, longer one.

Called the “mainline alternative”, the approved route runs through Montana, South Dakota, and down the centre of Nebraska – almost following along the existing Keystone pipeline on the Kansas-Nebraska border.

The whole pipeline project – meant to augment the existing pipeline system – is nearly 1,200 miles long, valued at $8bn (£6.5bn), expected to transport 830,000 barrels of oil a day, and is set to end in Steele City, Nebraska.

The Keystone XL pipeline has been on hold since 2015, when previous President Barack Obama rejected a presidential permit required because the pipeline would cross over the international border, over concerns of carbon emissions and pollution.

Keystone XL pipeline explained

However, in March 2017 President Donald Trump signed an executive order to restart the project.

The Nebraska decision comes on the heels of TransCanada’s existing Keystone system spilling 200,000 gallons of oil in South Dakota.

Though the decision is open to appeal, the last steps are for the Trump administration to approve the permits for the project as well as dealing with a host of lawsuits from environmental advocacy groups and Native American tribes who say their land and water resources would be polluted.

Montana and South Dakota – where the pipeline would also pass through – have already approved TransCanada’s request.

As The Hill reported: ”Crystal Rhoades, an Omaha-area commissioner, questioned the economic impact of the pipeline on Nebraska and warned that a spill from the pipeline would impact environmentally sensitive areas of the state. She also said it could violate the rights of landowners in the state.”

With the “alternative mainline”, approximately 40 landowners in the state would be impacted whose property would not have previously included pipeline construction.

Sioux from Standing Rock claim victory over Dakota Pipeline Show all 21 1 /21 Sioux from Standing Rock claim victory over Dakota Pipeline Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Despite blizzard conditions, military veterans march in support of the "water protectors" at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Fireworks fill the night sky above Oceti Sakowin Camp as activists celebrate after learning an easement had been denied for the Dakota Access Pipeline near the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. The US Army Corps of Engineers announced today that it will not grant an easement to the Dakota Access Pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending a months-long standoff. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Despite blizzard conditions, military veterans march in support of the "water protectors" at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Fireworks fill the night sky above Oceti Sakowin Camp as activists celebrate after learning an easement had been denied for the Dakota Access Pipeline near the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. The US Army Corps of Engineers announced today that it will not grant an easement to the Dakota Access Pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending a months-long standoff. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Despite blizzard conditions, military veterans march in support of the "water protectors" at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Native American and other activists celebrate after learning an easement had been denied for the Dakota Access Pipeline at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. The US Army Corps of Engineers announced today that it will not grant an easement to the Dakota Access Pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending a months-long standoff. (Photo by Scott Olson/Getty Images) Getty Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Chief Arvol Looking Horse of the Lakota/Dakota/Nakota Nation listens to speakers during an interfaith ceremony at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. Native Americans and activists from around the country have been gathering at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Today the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending the months-long standoff. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: An Native American activist rides down fom a ridge which overlooks Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. Native Americans and activists from around the country have been gathering at the camp for several months trying to halt the construction of the Dakota Access Pipeline. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Despite blizzard conditions, military veterans march in support of the "water protectors" at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Political activist Cornel West listen to speakers during an interfaith ceremony at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. Native Americans and activists from around the country have been gathering at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Today the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending the months-long standoff. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline Activists hold hands during a prayer circle as they try to surround the entire camp at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. Native Americans and activists from around the country gather at the camp trying to halt the construction of the Dakota Access Pipeline. / AFP / JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images) AFP/Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline Activists celebrate at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota, after hearing that the Army Corps of Engineers has denied the current route for the Dakota Access pipeline. / AFP / JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images) AFP/Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Chief Arvol Looking Horse (L) of the Lakota/Dakota/Nakota Nation listens as political activist Cornel West speaks during an interfaith ceremony at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. Native Americans and activists from around the country have been gathering at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Today the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending the months-long standoff. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Military veterans from Southern California collect firewood for their campsite at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Despite blizzard conditions, military veterans march in support of the "water protectors" at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 03: Activists participate in an art project conceived by Cannupa Hunska Luger, from the Standing Rock Sioux Tribe, at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 3, 2016 outside Cannon Ball, North Dakota. Native Americans and activists from around the country have been gathering at the camp for several months trying to halt the construction of the Dakota Access Pipeline. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 05: Military veterans are briefed on cold-weather safety issues and their overall role at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 5, 2016 outside Cannon Ball, North Dakota. Over the weekend a large group of military veterans joined native Americans and activists from around the country who have been at the camp for several months trying to halt the construction of the Dakota Access Pipeline. Yesterday the US Army Corps of Engineers announced that it will not grant an easement for the pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation. The proposed 1,172-mile-long pipeline would transport oil from the North Dakota Bakken region through South Dakota, Iowa and into Illinois. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Native American and other activists celebrate after learning an easement had been denied for the Dakota Access Pipeline at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. The US Army Corps of Engineers announced today that it will not grant an easement to the Dakota Access Pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending a months-long standoff. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Native American activists celebrate after learning an easement had been denied for the Dakota Access Pipeline at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. The US Army Corps of Engineers announced today that it will not grant an easement to the Dakota Access Pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending a months-long standoff. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline CANNON BALL, ND - DECEMBER 04: Native American and other activists celebrate after learning an easement had been denied for the Dakota Access Pipeline at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota. The US Army Corps of Engineers announced today that it will not grant an easement to the Dakota Access Pipeline to cross under a lake on the Sioux Tribes Standing Rock reservation, ending a months-long standoff. (Photo by Scott Olson/Getty Images) Getty Images Sioux from Standing Rock claim victory over Dakota Pipeline Activists celebrate at Oceti Sakowin Camp on the edge of the Standing Rock Sioux Reservation on December 4, 2016 outside Cannon Ball, North Dakota, after hearing that the Army Corps of Engineers has denied the current route for the Dakota Access pipeline. The US Army Corps of Engineers on Sunday announced they will no longer allow the Dakota Access Pipeline to cross under a lake on the Standing Rock reservation in North Dakota, marking a huge win for Native Americans and protesters who had long opposed the construction. / AFP / JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images) AFP/Getty Images

According to the Lincoln Journal Star, the majority of the owners are in Madison County, Nebraska. The original Keystone pipeline does not run through their property, nor was that land included in TransCanada’s preferred route.

The company has not yet shared publicly whether the landowners along the approved route have been contacted.

Michael Brune, the executive director of the Sierra Club, said: “It is disappointing that the Public Service Commission sided with a foreign oil company over the interests of American communities who would be threatened by this pipeline, but we remain confident that Keystone XL will never be built.”

A larger issue is also whether TransCanada has decided whether the project, after years of protests and legal battles, is even still financially viable.

The company said it would make a decision within the next few months, said to be dependent on the Nebraska decision as well as how interested their customers – oil companies – would be in using the pipeline.

​TransCanada president Russ Girling was confident the permits and lawsuit issues could be resolved, saying the company executives “expect support for the project to be substantially similar to that which existed when we first applied for the Keystone pipeline permit... To be clear, production of Canadian heavy oil continues to grow, and the need for new pipeline transportation capacity remains high.”

Zachary Rogers, a Houston-based analyst for energy research and consulting firm Woods Mackenzie, told CNBC that Canadian companies have been shipping their product via rail, adding to their overall costs.