The Lithuanian military originates in the Grand Ducal Lithuanian Army, active from the 13th century to 1795. After the Union of Lublin in 1569, the Lithuanian Army remained equal to the Polish army in the military of the Polish–Lithuanian Commonwealth until the Third Partition in 1795. The Grand Ducal Lithuanian Army fought in many major battles, such as the &lt;a href="Battle%20of%20Blue%20Waters"&gt;Battle of Blue Waters (1362/63)&lt;/a&gt;, Battle of Grunwald (1410), Battle of Orsha (1514) and Battle of Kircholm (1605). Similarly to other medieval European states, the army was raised by the nobility during the Late Middle Ages. By the 17th century, it was mostly outclassed by professional forces and the Polish–Lithuanian Commonwealth began to maintain a standing army.