Borrowed from Hebrew שָׁלוֹם (šālṓm), meaning “peace” (noun) and therefore capitalized in German.
Schalom!