windows 7, 9700k and z370 or z390 motherboards?

I would like to upgrade my hardware to a 9700k and either a z370 or z390 motherboard but keep windows 7. Does anyone know which motherboards are known to work?