Answer by taking a quote from the following article:

Kenneth Charles Loach (born 17 June 1936) is an English director of television and independent film. His socially critical directing style and socialist ideals are evident in his film treatment of social issues such as poverty (Poor Cow, 1967), homelessness (Cathy Come Home, 1966) and labour rights (Riff-Raff, 1991, and The Navigators, 2001). Loach's film Kes (1969) was voted the seventh greatest British film of the 20th century in a poll by the British Film Institute. Two of his films, The Wind That Shakes the Barley (2006) and I, Daniel Blake (2016) received the Palme d'Or at the Cannes Film Festival, making him the ninth filmmaker to win the award twice.

Loach first joined the Labour Party from the early 1960s. In 1980s, he was in the Labour Party because of the presence of "a radical element that was critical of the leadership", but Loach had left the Labour Party by the mid-1990s after being a member for 30 years. During the 1960s and 1970s, he was associated with (or a member of) the Socialist Labour League (later the Workers Revolutionary Party), the International Socialists (later the Socialist Workers Party or SWP) and the International Marxist Group.  Involved in Respect - The Unity Coalition from its beginnings in January 2004, and stood for election to the European Parliament on the Respect list in 2004. Loach was elected to the national council of Respect the following November. When Respect split in 2007, Loach identified with Respect Renewal, the faction identified with George Galloway. Later, his connection with Respect ended.  Loach supported the Trade Unionist and Socialist Coalition in the London Assembly election, 2012. With the support of the activist Kate Hudson and academic Gilbert Achcar, Loach launched a campaign in March 2013 for a new left-wing party which was founded as "Left Unity" on 30 November. Loach gave a press conference during the launch of Left Unity's manifesto for the 2015 general election.  Together with John Pilger and Jemima Khan, Loach was among the six people in court who offered surety for Julian Assange when he was arrested in London on 7 December 2010. The money was forfeited when Assange skipped bail to seek asylum in the Embassy of Ecuador, London.

what were ken's affiliations before 2005?
Loach supported the Trade Unionist and Socialist Coalition in the London Assembly election, 2012.