the work was consecrated in 1489 and paid by the swedish viceroy sten sture.

Make this proper case
The work was consecrated in 1489 and paid by the Swedish viceroy Sten Sture.