Gorkšs was elected already in the first round as 56 federation members voted for him.
The other two candidates for the Football Federation's president were Latvian Futsal Association President Vadims Lasenko and sports club Cēsis President Krisjanis Klavins.
48 federation members voted for Lasenko and four for Klavins. In total, 110 Football Federation members participated in the vote.
Gorkšs is succeeding the long-time Football Federation President Guntis Indriksons, who was given the title of the Football Federation's honorary president during the federation's congress on Friday. Indriksons had been the Football Federation's head since 1996.
With Latvian soccer at a low ebb after a disastrous World Cup qualifying campaign that saw a loss at home to the Faroe Islands and defeats against Georgia, Estonia and even Gibraltar in recent friendly matches, finding a new national team coach will be among a lengthy list of tasks for Gorkšs in coming weeks.
However, having such a distinguished player who won 89 caps for his country at the top of the game in Latvia should inject a new sense of optimism into national soccer.