 After the communists sentenced him to death he was forced to go underground.When the Germans occupied Estonia in 1918, Pitka began to organize the Defence League.At the beginning of the Estonian War of Independence, the Defence League was one of the main forces of the Republic of Estonia, and at that time Pitka also started organising the armoured trains.