Notwithstanding, the Nationalist Party survived and in its first major electoral test, the legislative elections of 1947, it managed to stay ahead of various splinters that had formed from people who did not want to be associated with the main party. In the following 1950 elections, a very damaging split occurred in the ranks of the governing Labour Party resulting in two parties: the Malta Labour Party (MLP) and the Malta Workers' Party (MWP). This helped the Nationalists become the largest party in the Legislative Assembly and form a minority government which, though short-lived, re-established the Nationalist Party as a major political party. Enrico Mizzi was sworn in as Prime Minister, but died after three months in December.