The location of Riga was nearby a trade route from the Vikings to the Byzantine Empire. A sheltered harbor near the current location of Riga was created in the 2nd century. It was settled by a Finnic tribe called the Livonians.