sentences:  When Latvia was occupied by the Soviet Union in 1940, all merchant vessels were nationalised by the Soviet state, including "Hercogs Jēkabs".Some of the ships were within the immediate control of Soviet authorities and were thereby impressed into the service of the Soviet-controlled Latvian State Sea Shipping Company.However, many Latvian-registered ships outside Soviet-controlled waters defected and turned themselves over to the control of other nations.