Were is the plural and the second person singular of the past tense of be.
Were is sometimes used instead of 'was' in certain structures, for example, in conditional clauses or after the verb 'wish'.
He told a diplomat that he might withdraw if he were allowed to keep part of a disputed oil field.
他对一名外交官说,如果允许他保留部分争议油田,他可能会撤出。