Due to the military invasion, many refugees and internally displaced persons (IDPs) were forced to relocate to camps quickly constructed across Azerbaijan to cope with the influx of people. Many lived in tents, disused factories and railway trucks for several years.