UK Independence Party gains first MP