San Marino, FIFA’s lowest-ranked men’s team, snapped a 20-year losing streak on Thursday, defeating Liechtenstein 1-0 in the UEFA Nations League for their first win in two decades – and the team’s first-ever victory in a competitive match.

Nicko Sensoli scored the game’s lone goal in the 53rd minute, giving San Marino the edge in a fairly even matchup. Liechtenstein, ranked 11 places ahead of the opposition, dominated possession and matched San Marino with eight shots. They were unable to put a shot on target, though, while San Marino had two and scored on one of them.

They snapped a 176-match winless run in competitive matches, tying just five of those encounters while losing the other 171.

It was a monumental feat for the small landlocked nation of roughly 33,000 people, who have not celebrated a win since April 2004 in a friendly against Lichtenstein, which they also won 1-0.