Atanasije Rajić (; 31 January 1754 – 6 June 1815), known by his nickname Tanasko (Танаско), was a Serbian vojvoda (commander) and revolutionary, the barjaktar (flag-bearer) in the First Serbian Uprising led by Karađorđe against the Ottoman Empire, and the captain in Obrenović's Second Serbian Uprising, during which he died (1815). Life Atanasije was born on , 1754, in the village of Stragari, below the Rudnik mountain. As he was born on the slava (Serbian feast day) of St. Athanasius (Atanasije), he was named Atanasije. He was a friend of Janićije Đurić, the later secretary of Karađorđe. One of his sons married Perunika, the younger sister of Đurić. With Karađorđe and other Šumadijan rebels, he clashed many times with the Ottoman Turks. In his area, Sali-aga was known for his cruelty. Tanasko gathers his friends and plans an attack on Sali-aga. He was part of the talks between prominent Serbs in planning the uprising. In the evening of Sretenje Gospodnje, 1804, Tanasko, Karađorđe, Stanoje Glavaš, Janićije Đurić, and 70 other armed Šumadijans arrived at Orašac. The next day, the Orašac assembly elected Karađorđe, leader of the Serbs. Karađorđe handed over a red and white war flag and appointed Tanasko the flag-bearer of the Serbian revolution. After the outbreak of the uprising, Tanasko went to his home village and gathered and organized people for the siege of Rudnik which would follow. Tanasko was indignant to Sali-aga and promised that he would personally kill him and save Rudnik from violence. On 2 March 1804, the Serbian army led by Tanasko surrounded the city, demanding the surrender of Sali-aga. The Ottomans refused and prepared for battle, waiting for Kučuk Alija from Belgrade. Tanasko commanded the operation. Turkish reinforcements arrived from Čačak, resulting in a great battle on the outskirts of town. The Turks were defeated, with their horses and weapons seized. Tanasko was wounded in the arm. Tanasko did not participate in forming the first state government. He remained a soldier, known for his bravery. Sali-aga was delivered to and beheaded by Tanasko. He further participated against the fightings against Alija Gušanac on the Morava river when he and his army fortified Crni Vrh near Jagodina and awaited Gušanac. Gušanac fled from the battle, and his army was disarmed. voivode Jovan Kursula also participated in this battle. After the victory, there was political arguing between Tanasko and Karađorđe, due to the leader's centralism.