Territory, such as San Marino or Lesotho, that is surrounded by another country (7)
I believe the answer is:
enclave
(Other definitions for enclave that I've seen before include "Part of country surrounded by another" , "Surrounded area of a different ethnicity" , "Isolated cultural group" , "Area ethnically different from its surroundings" , "Land wholly within foreign territory" .)