A man was sentenced to prison following his conviction for an armed robbery that happened in 2024.