1. His salary is the same as mine.

2. Middle school is not the same as elementary school.

(What is the part of speech of 'as' in each sentence?)

conjunction