Ljubljana is located some 140 kilometres (87 mi) west of Zagreb, 520 kilometres (320 mi) northwest of Belgrade, 250 kilometres (160 mi) east of Venice, 350 kilometres (220 mi) southwest of Vienna and 400 kilometres (250 mi) southwest of Budapest. The extent of Ljubljana has changed considerably in the past 30 years, mainly because some of the nearby settlements have merged with Ljubljana.