Mexico: In presidential elections, Andrés Manuel López Obrador of the National Regeneration Movement (MORENA) wins 54.8% of the vote, Ricardo Anaya of the National Action Party (PAN) 22.9%, and José Antonio Meade of the Institutional Revolutionary Party (PRI) 16.9%. Turnout is 63.4%. Winners of gubernatorial elections:
Switzerland: Monica Gschwind becomes president of the government of Basel-Land, Robert Küng president of the government of Luzern, Res Schmid Landammann of Nidwalden, Christoph Amstad Landammann of Obwalden, and Kaspar Michel Landammann of Schwyz.
- Chiapas: Rutilio Escandón Cadenas (MORENA)
- Ciudad de México: Claudia Sheinbaum Pardo (MORENA)
- Guanajuato: Diego Sinhué Rodríguez (PAN)
- Jalisco: Enrique Alfaro Ramírez (Citizens' Movement)
- Morelos: Cuauhtémoc Blanco (Social Encounter Party)
- Puebla: Martha Erika Alonso (PAN)
- Tabasco: Adán Augusto López (MORENA)
- Veracruz: Cuitláhuac García Jiménez (MORENA)
- Yucatán: Mauricio Vila Dosal (PAN)
Tanzania: In a cabinet reshuffle, Kangi Lugola is appointed home affairs minister.
Congo (Kinshasa): Kanys Makofi Kabamba takes office as governor of Kwango.
Malaysia: The cabinet is expanded, Dato' Saifuddin Abdullah being appointed foreign minister.
Congo (Kinshasa): Former president of Kasaï (1960-61, 1962) and governor of Kivu (1969-70) Barthélemy Mukenge dies.
Georgia: The prime minister of Ajaria, Zurab Pataradze, resigns. On July 21 Tornike Rizhvadze is approved as prime minister.
Niger: Former prime minister (1996) Boukary Adji dies.
United States: President Donald Trump accepts the resignation of the administrator of the Environmental Protection Agency, Scott Pruitt, and names Andrew Wheeler as acting administrator effective July 9.
Vatican City: Jean-Louis Cardinal Tauran, former foreign minister (1990-2003), dies.
Mexico: Former governor of Sinaloa (1981-86) Antonio Toledo Corro dies.
India: Former governor of Meghalaya (1995-2007) M.M. Jacob dies.
United States: Former governor of Iowa (1969-83) Robert Ray dies.
Brazil: Mauro Carlesse takes office as governor of Tocantins.
Cook Islands: The new cabinet is announced, with Henry Puna to continue as prime minister and foreign minister and Mark Brown as finance minister, while Albert Nicholas becomes internal affairs minister.
Indonesia: Nova Iriansyah is appointed acting governor of Aceh following the arrest of Governor Irwandi Yusuf.
Solomon Islands: Ishmael Avui is sworn in as home affairs minister.
Timor-Leste: Filomeno Paixão is sworn in as defense minister.
Turkey: President Recep Tayyip Erdogan is sworn in for his new term, under a new presidential system which eliminates the post of prime minister. Fuat Oktay is named vice president, Gen. Hulusi Akar defense minister, and Berat Albayrak finance minister; Mevlüt Çavusoglu remains foreign minister and Süleyman Soylu interior minister.
United Kingdom: Foreign Secretary Boris Johnson resigns. Jeremy Hunt is named to succeed him (taking office July 18).
United Kingdom: Former foreign secretary (1979-82) Peter Alexander Rupert Carington, Baron Carrington, also secretary-general of NATO (1984-88), dies.
Belarus: Former chairman of the Presidium of the Supreme Soviet (1989-90) and chairman of the Supreme Soviet (1990-91) of the Belorussian S.S.R. Nikolay Dementyey dies.
United States: London Breed is sworn in as mayor of San Francisco.
Czech Republic: The government of Prime Minister Andrej Babis wins a parliamentary vote of confidence (105-91).
Georgia: Prime Minister Mamuka Bakhtadze's definite government is named, including Ivane Machavariani as finance minister, other key positions remaining unchanged.
South Sudan: Parliament extends President Salva Kiir's term for three years.
Spain: Former president of the Xunta of Galicia (1982-87) Gerardo Fernández Albor dies.
Taiwan: A cabinet reshuffle is announced (effective July 16), with Hsu Kuo-yung named interior minister and Su Jain-rong finance minister.
Canada: Former premier of New Brunswick (1997-98) J. Raymond Frenette dies.
Colombia: President-elect Iván Duque designates Carlos Holmes Trujillo as foreign minister, Nancy Patricia Gutiérrez as interior minister, and Alberto Carrasquilla as finance minister. On July 17 he names Guillermo Botero as defense minister.
Norway: Former foreign minister (1987-89, 1990-93) Thorvald Stoltenberg dies.
Haiti: Prime Minister Jack Guy Lafontant resigns.
Namibia: Former foreign minister (1990-2002) and prime minister (2002-05) Theo-Ben Gurirab dies.
Nigeria: In gubernatorial elections in Ekiti, Kayode Fayemi (All Progressives Congress) wins 51.3% of the vote and Kolapo Olusola (People's Democratic Party) 46.3%. Turnout is 44.4%.
Afghanistan: Humayoun Qayoumi is introduced as acting finance minister.
Indonesia: Robert Simbolon becomes acting governor of Nusa Tenggara Timur after the term of Frans Lebu Raya ended on July 16.
South Sudan: Nhial Deng Nhial is appointed as foreign minister.
Congo (Kinshasa): The governor of Kongo Central, Jacques Mbadu, dies. Atou Matubuana Nkuluki becomes acting governor.
India: The government of Prime Minister Narendra Modi survives a no-confidence motion in parliament (rejected 325-126).
Cuba: President Miguel Díaz-Canel announces his cabinet. Bruno Rodríguez Parrilla remains foreign minister, Gen. Leopoldo Cintra Frías armed forces minister, Vice-Adm. Julio César Gandarilla Bermejo interior minister, and Lina Pedraza Rodríguez finance minister.
Slovenia: President Borut Pahor informs the parliament that he refuses to nominate a prime minister because the leaders of the two main political parties, Janez Jansa and Marjan Sarec, are unable to garner the support of a parliamentary majority.
United States: The Senate confirms Robert Wilkie as veterans affairs secretary (86-9). He is sworn in on July 30.
Tunisia: Hichem Fourati is named interior minister (confirmed by parliament on July 28).
Pakistan: In parliamentary elections, Pakistan Tehreek-e-Insaf wins 116 of 270 seats, the Pakistan Muslim League (Nawaz) 64, and the Pakistan People's Party 43.
Austria: Former Landeshauptmann of Vorarlberg (1964-87) Herbert Kessler dies.
Nigeria: Former governor of Gombe (1999-2003) Abubakar Hashidu dies.
Timor-Leste: Parliament endorses (36-25) the policy program of the government of Prime Minister Taur Matan Ruak.
Indonesia: Former governor of Sumatera Barat (2009-10) Marlis Rahman dies.
Pakistan: The governor of Sindh, Muhammad Zubair, resigns.
Cambodia: In parliamentary elections, the ruling Cambodian People's Party wins about 77% of the vote and all 125 seats.
Libya: Defense Minister Mahdi al-Barghathi, suspended since May 2017, is dismissed, just days after the Administrative Control Authority cleared him to take up his duties again.
Mali: In the first round of presidential elections, incumbent Ibrahim Boubacar Keita wins 41.4% of the vote, Soumaïla Cissé 17.8%, Aliou Diallo 8.0%, and Cheick Modibo Diarra 7.5%. Turnout is 43.1%. A runoff is to be held on August 12.
Zimbabwe: In presidential elections, incumbent Emmerson Mnangagwa (Zimbabwe African National Union-Patriotic Front) wins 50.6% of the vote and Nelson Chamisa (MDC Alliance) 44.4%.
Bosnia and Herzegovina: Former prime minister of the Federation of Bosnia and Herzegovina (2001-03) Alija Behmen dies.
El Salvador: Carlos Castaneda (hitherto acting) is sworn in as foreign minister.
France: The government survives two no-confidence motions, which receive 143 and 74 votes respectively (289 needed).