 In 1991 Latvia gained independence from the USSR, and due to the end of financing from Moscow most of the state funded construction projects were halted.Few new homes were built until after Latvia joined the EU in 2004, but construction halted again as the late-2000s financial crisis spread to Latvia.Due to the flow of investments and affordable housing credits from private parties, Riga had experienced a construction boom.