That's the first thing I thought of also, a voltage regulator.
Used a lot of 7805, 7812, 7905, back in the day....
I still have them.