Following Alexander I assassination in 1934, His cousin Pavle Karađorđević took office as regent for the 11-year-old Petar II. Upon Pavle's 1941 signing of the Tripartite Pact, Živković left Yugoslavia ahead of the Nazi invasion. He became part of the Yugoslav government in exile.