For reference, Apple just released a security update for the 5s from 2013 this past June.
The 6S (2015) ran the latest OS until ios 16 this year.