San Marino defeated Liechtenstein 1-0 in the UEFA Nations League on Thursday, recording their first ever win in a competition and their first victory in any match in 20 years.
Nicko Sensoli scored in the 53rd minute to give the tiny nation surrounded by Italy its first win in a competitive match.
San Marino is ranked 210th (last) in the FIFA world rankings. Liechtenstein is not above it in 199th place.
San Marino's last win was in a friendly against the same opponent in April 2004.
Their fans have endured 140 games without a win since then and 19-year-old Sensoli's goal sparked wild celebrations at the San Marino stadium.
Sensoli was not even born when San Marino last won, and there was a long wait until the final whistle with eight minutes of added time before victory was confirmed to leave the hosts top of three-team Group 1, which also includes Gibraltar.
Thursday's win improves San Marino's record to 2-10-199.
Information from The Associated Press and Reuters contributed to this report.