The company did the same with the Samsung Galaxy S7, which Samsung ended support for last April.
The S8 and S8+ originally launched in April 2017 with Android 7.
As Samsung brings the devices lifespan to a close, it runs Android 9.

Drew Angerer / Getty Images
Still, four years is a long time when it comes to equipment support, especially updates.