By-election losses eroded and finally removed Labour's small parliamentary majority, and in March 1977 Callaghan was in danger of losing a confidence vote that would have precipitated a general election. Opinion polls indicated that an election at that time would have been equally disastrous for the Labour and Liberal parties; to ensure mutual survival, a "Lib–Lab pact" was agreed, whereby in return for certain policy concessions the Liberals would support the Government. Thorpe used his influence to insist that legislation for direct elections to the European Parliament was part of the pact, but was unable to secure his principal objective, a commitment to a proportional basis in these elections. In parliament, Thorpe spoke in favour of Scottish and Welsh devolution, arguing that there was no alternative to home rule except total separation. In the various debates related to the unresolved issue of Rhodesia, Thorpe pressed for the involvement of representatives from the African nationalists, in the form of the Patriotic Front, in negotiations for a peaceful settlement to the long-running Rhodesian Bush War.