Liverpool on 5 May 1977. After arriving at Anfield, the nickname which he loathed for years ("Stretch") was forgotten and a new nickname "Jockey" was born. Liverpool Hansen cost Liverpool £100,000. He made his debut on 24 September 1977 in a league match at Anfield. Derby County were the visitors and were beaten by a single goal scored by Terry McDermott. Hansen hit his first goal the following month on 19 October during a European Cup 2nd round 1st leg tie at Anfield. He opened the scoring in the 14th minute as Liverpool demolished East German side Dynamo Dresden 5–1. Hansen was put into the first team sporadically throughout the season. He was not in the side which lost the 1978 League Cup final replay to Nottingham Forest, but he was selected for the Liverpool side which won the 1978 European Cup Final 1–0 over FC Bruges at Wembley, on a goal by Kenny Dalglish. Hansen managed 18 appearances in the First Division that season, where Liverpool finished runners-up to Nottingham Forest. In the following season, 1978–79, Hansen was a regular in the team as Liverpool regained the league title. The team's final points tally of 68 was a record under the two points for a win system, and they conceded only four goals at home at Anfield. When long-serving club captain Emlyn Hughes was sold to Wolves, Hansen became an automatic first-choice central defender in the team, and Liverpool's domination of English club football continued in the 1979–80 season with another league title. In the 1980–81 season, Liverpool won two trophies, but did not win a third consecutive league title as Aston Villa finished as English champions. Liverpool won their first League Cup in 1981, defeating West Ham United 2–1 in a replay at Villa Park. Hansen also won his second European Cup winners medal in 1981, Liverpool defeating Real Madrid 1–0 at the Parc des Princes in Paris on 27 May. The league title returned to Anfield in the 1981–82 season, and Liverpool also retained the League Cup in 1982 with a 3–1 win over Tottenham Hotspur, although Hansen missed this victory with injury. Liverpool did not retain the European Cup in 1982, surprisingly losing in the quarter-final to CSKA Sofia 2–1 on aggregate. In the 1982–83 season, Liverpool once again took the league title and held on to the League Cup in 1983, defeating Manchester United 2–1