Britain's anti-EU UK Independence Party has won its first seat in parliament by a landslide, and came a close second in another vote, posing a threat to the country's two main parties in next year's national election.