The federal government has conditionally approved the controversial Northern Gateway pipeline project between Alberta and British Columbia鈥檚 coast.

Before the 1,177-kilometre twin pipeline can be built, Enbridge Inc. has to meet 209 conditions set out by a

Those conditions include consultations with aboriginal communities in B.C., and regulatory permits and authorizations from federal and provincial governments, Minister of National Resources Greg Rickford said in a statement.

鈥淭he proponent clearly has more work to do in order to fulfill the public commitment it has made to engage with aboriginal groups and local communities along the route," he said Tuesday.

Opposition parties, along with environmental and First Nations groups, are vowing to do everything in their powers to block the project.

The New Democrats immediately denounced the pipeline approval, saying it proves that Prime Minister Stephen Harper will do anything to push his 鈥渂ig oil agenda.鈥

Opposition Leader Thomas Mulcair said an NDP government would immediately set aside the pipeline project after the 2015 election. He said Northern Gateway will be a 鈥渂ig ballot issue鈥 in B.C.

鈥淚t鈥檚 an environmentally dangerous activity that could compromise the major economy of the whole province,鈥 Mulcair said.

Liberal Leader Justin Trudeau also said the pipeline 鈥渨ill not be built鈥 if he becomes the next prime minister.

He accused the Conservative government of 鈥渂lindly鈥 supporting the Northern Gateway project and acting like a 鈥渃heerleader鈥 instead of a referee throughout the approval process.

Green Party Leader Elizabeth May said that, if built, the pipeline would spell out disaster for First Nations groups whose land is affected by the project, the B.C. fishery and the environment.

Because the proposed pipeline route would go through ecologically fragile, uninhabited areas, a spill would be very difficult to reach and clean up, May said.

 Environmental groups issued statements Tuesday saying the Northern Gateway approval 鈥渞ejects science鈥 and ignores concerns from First Nations and the B.C. government.

鈥淒espite cabinet鈥檚 approval, the pipeline will not be built,鈥 Tim Gray, of Environmental Defence, said. 鈥淭hese conditions cannot be met -- an approval with conditions is as good as a no.鈥

Talk of legal action 

Several First Nations and environmental groups have already filed legal challenges, which include applications for a judicial review of the approval process.

The Gitxaala and Coastal First Nations have already said they are preparing lawsuits over the pipeline project. 

A statement signed Tuesday by the B.C. Assembly of First Nations, the First Nations Summit and the Union of B.C. Indian Chiefs, along with 28 individual bands, said legal action against the project will be 鈥渧igorously鈥 pursued.

"This project, and the federal process to approve it, violated our rights and our laws. We are uniting to defend our lands and waters of our respective territories," the statement said.

Northern Gateway would carry bitumen from Alberta's oilsands to the B.C. coastal town of Kitimat, to be shipped overseas.

The Harper government has long argued that Northern Gateway, as well as the proposed Keystone XL pipeline from Alberta to the U.S., are crucial to the development of Canada鈥檚 natural resources sector and the overall economy.

However, the B.C. government has said that Northern Gateway still doesn鈥檛 meet the five conditions for approval set out by the province.

B.C. Environment Minister Mary Polak said Tuesday that the project has so far only met one condition: passing the federal environmental review process.

having a 鈥渨orld leading鈥 marine and land oil spill response, satisfying aboriginal and treaty legal rights and making sure that B.C. receives its 鈥渇air share鈥 of the project鈥檚 economic benefits.

鈥淭here is still much work to be done if a Northern Gateway pipeline is ever to be built in British Columbia,鈥 Polak said.

Janet Holder, Enbridge's vice-president for western access, said the company believes it can meet the Northern Gateway conditions.

Meanwhile, Alberta Premier Dave Hancock said Ottawa鈥檚 decision on the pipeline is 鈥渁 step forward in accessing new markets for Canada鈥檚 energy resources.

鈥淣ew markets for our products will create and support more jobs, and generate increased revenue to help pay for vital public services like quality health care and education for all Canadians,鈥 he said in a statement.

With files from The Canadian Press