Regarded as one of the best players of his generation, Guardiola was a creative and technically gifted midfielder who usually played in a deep-lying playmaking role as a defensive midfielder. He spent the majority of his career with Barcelona, forming a part of Johan Cruyff's "Dream Team" that won the club's first European Cup in 1992, and four successive La Liga titles from 1991 to 1994. He later captained the team from 1997 to 2001. He then played for Brescia and Roma in Italy, Al-Ahli in Qatar, and Dorados de Sinaloa in Mexico while training to be a manager. While playing in Italy, he served a four-month ban for a positive drug test, although he was eventually cleared of wrongdoing twice on appeal in 2009 before the Courts of Justice of the Italian Football Federation and the Federal Anti-Doping Courts of the Italian Olympic Committee (CONI). Guardiola was capped 47 times for Spain and appeared at the 1994 FIFA World Cup as well as UEFA Euro 2000. He also played friendly matches for Catalonia.
After retiring as a player, Guardiola became coach of Barcelona B, and in 2008 he succeeded Frank Rijkaard as the first-team manager. In his first season as manager, Guardiola guided Barcelona to a treble, winning La Liga, the Copa del Rey and the UEFA Champions League. In doing so, Guardiola became the youngest manager to win the Champions League. The following season, Guardiola led Barcelona to win the Supercopa de España, the UEFA Super Cup, the FIFA Club World Cup and a second La Liga title. In 2011, after leading Barcelona to another La Liga, Supercopa de España and UEFA Champions League, Guardiola was awarded the Catalan Parliament's Gold Medal, their highest honour. That same year, Guardiola was also named the FIFA World Coach of the Year. In Guardiola's fourth season, he won the Copa del Rey, UEFA Super Cup, FIFA Club World Cup and the Supercopa de España. On 30 June 2012, Guardiola announced his departure from Barcelona.
After a sabbatical period, Bayern Munich announced on 16 January 2013 that Guardiola would join the club as manager for the 2013–14 season following the retirement of Jupp Heynckes. In his first season at the club, Guardiola won the Bundesliga, the DFB-Pokal, the UEFA Super Cup and the FIFA Club World Cup. He won seven trophies during his tenure at Bayern, winning the Bundesliga all three seasons he was there, including two domestic doubles. He left Bayern for Manchester City in July 2016 and guided them to the English league title in his second season as manager, breaking numerous domestic records and became the first Premier League team to attain 100 points.
As a manager, Guardiola has won 24 trophies since the start of his managing career, making him one of the most successful managers in world football. Guardiola also holds the record for the most consecutive league wins in La Liga, Bundesliga and the Premier League.[nb 1] He is considered by a number of players, coaches, and commentators to be one of the best managers in the world.