The invention of the rolling mill is credited to Leonardo da Vinci, an Italian polymath and artist, who conceptualized and designed a rolling mill during the 15th century. His invention laid the foundation for the development of rolling mills and revolutionized the metalworking industry.