 Wirtanen rose to parliament from the Social Democratic Party of Finland (SDP) list, but in 1946 he defected to the Finnish People's Democratic League (SKDL).Wirtanen was also active in the Socialist Unity Party (SYP) and served as its chairman from 1948 to 1955.In 1955 he led the SYP out of the SKDL.