Lego initially rejected the petition, arguing that the partnership gave children access to "inspirational" toys and insisted that the dispute between Greenpeace and Shell, which it accuses of polluting the environment, should be handed separately.
But the toymaker has bowed to pressure and won't renew the contract. Lego currently sell its toys in 26 countries at petrol stations in a deal worth £68 million.
In a statement, Jørgen Vig Knudstorp, chief executive of the Lego Group, said: We do not agree with the tactics used by Greenpeace that may have created misunderstandings among our stakeholders about the way we operate."
"We want to clarify that as things currently stand we will not renew the co-promotion contract with Shell when the present contract ends," he added.
Greenpeace said it was "super happy" and described it as a "massive victory" for the one people million who signed the online petition.
- Independent