Ukmergė was first mentioned in 1225,[1] and named as a settlement in 1333.[3] It was essentially a wooden fortress that stood on a hill, near the confluence of the Vilkmergė River and the Šventoji River. Ukmergė was attacked by the Teutonic Knights and the Livonian Order in 1333, 1365, 1378, 1386, and even in 1391, already after the Christianization of Lithuania in 1387. During the last attack, Ukmergė was burned to the ground and had to be completely rebuilt.