Leonardo worked in Milan from 1482 until 1499 .
Leonardo stayed in Milan and worked for the Duke between 1482 and 1499 .