Answer
Joe Clark's tenure as Prime Minister ended when his government lost a non-confidence vote on his first budget. The vote was called by the NDP, who had previously supported the government, after Clark introduced a budget that they felt was too pro-business. The Liberals, who had previously been the opposition, also voted against the budget, and the government was defeated.