Exectly. From a U.S. perspective it’s an improvement. Over the least twenty years, I’ve heard trial balloons that some on the left wanted to lower age of consent. I think progressives were the ones who originally pushed for age of consent and older age of consent laws.
Wikipedia does not give details on the political process, but the timing is consistent with the Progressive Era. Before that, states had ages as young as 7, with 10 about the average.