In the Chinese military rank system, 尉 refers to the junior officer level — specifically 少尉 (second lieutenant), 中尉 (first lieutenant), and 上尉 (captain). It is the lowest tier of commissioned officers.
memory
Note the pronunciation: 尉 as a rank is wèi. When used in the surname 尉迟 or place name 尉犁, it is read yù — a rare exception.