The five-week-long war in the South Caucasus between Armenia and Azerbaijan for control over Nagorno-Karabakh and the surrounding districts has ended in a Russia-brokered ceasefire. President Putin has managed to score yet another victory in the region, establishing a foothold, this time on the border with Iran.