A much-loved 150-year-old tree has been protected with a temporary order following the efforts of passionate campaigners.