Soviet military forces crossed the Lithuanian border on 15 June 1940, with the military of Lithuania being ordered not to resist. Dekanozov arrived on the same day to organise the incorporation of Lithuania into the Soviet Union. The Communist Party of Lithuania, headed by Antanas Sniečkus, was at his disposal. The Soviet military established a controlling presence that allowed Dekanozov to fulfill his function as representative of the Communist Party. The process creating the Lithuanian Soviet Socialist Republic was Dekanozov's work. He installed himself in the Soviet embassy and imposed on Lithuania the Soviet party-state structure in which the traditional governmental forms were of only secondary importance. Dekanozov restructured the Lithuanian government, naming Justas Paleckis, a Lithuanian leftist who was not yet a member of the Communist Party, as Prime Minister.