Green MP Caroline Lucas told the court she felt it was important to protest about fracking to prevent the UK from being locked into using more fossil fuels.
Ms Lucas said: "I'm haunted by the idea that my children and my children's children will turn round to me and say, 'What did you do about this overwhelming threat?'"
Her co-defendants were also cleared of both charges against them. They were Josef Dobraszczyk, 22, from Bristol; Ruth Jarman, 50, from Hook, Hampshire; Sheila Menon, 42, from north east London; and Ruth Potts, 39, from Totnes, Devon.
More top news
The former reality TV star will follow in the footsteps of Abraham Lincoln and John F Kennedy when he takes his oath later on Friday.
The President-elect's comments on Twitter will come under even closer scrutiny when he takes office on Friday.
Cold, quiet and calm