Moldavia had a military force for much of its history as an independent and, later, autonomous principality subject to the Ottoman Empire (14th century-1859).