Justinian I, also known as Justinian the Great, was Roman emperor from 527 to 565.