Polls closed in most parts of Spain in a key general election that could end eight years of socialist rule and bring the far right into government for the first time since the dictatorship of Francisco Franco.
Polls before the election indicated a victory for the conservatives and the far right, with the first official results expected later on Sunday.