Title: Toronto Maple Leafs
Content:  The Maple Leafs has won 13 Stanley Cups in its history. Toronto's first two Stanley Cup, in 1918 and 1922, took place when the Stanley Cup tournament operated as an interleague competition. Toronto's subsequent 11 Stanley Cups were awarded after 1926, when it was established as the championship trophy of the NHL. The Maple Leafs won their last Stanley Cup in 1967; with the team's 51-season Stanley Cup drought being the longest active drought in the NHL. The Maple Leafs were also awarded the Prince of Wales Trophy twice, following the 1946–47 season, and the 1962–63 season. The Prince of Wales Trophy was awarded to the club when it was used as NHL's regular season championship trophy.
Title: 1966–67 Toronto Maple Leafs season
Content:  The 1966–67 Toronto Maple Leafs season was the 50th season of the Toronto NHL franchise, fortieth as the Maple Leafs. The Leafs finished third in the NHL with a record of 32–27–11 for 75 points to qualify for the playoffs. Toronto defeated the first-place Chicago Black Hawks four games to two in the semi-finals before upending their arch-rival Montreal Canadiens in six games to win their thirteenth Stanley Cup in franchise history. As of 2021, this is the last time that the Maple Leafs won the Stanley Cup, or even made it to the Finals.
Title: 1947 in Canada
Content: April 19 - The Toronto Maple Leafs win their sixth Stanley Cup by defeating the Montreal Canadiens 4 games to 2. The deciding Game 6 was played in Maple Leaf Gardens in Toronto. ; April 22 - The Ontario Hockey Association's Toronto St. Michael's Majors win their third (and last until 1961) Memorial Cup by defeating Southern Saskatchewan Junior Hockey League's Moose Jaw Canucks 4 games to 3. The deciding Game 7 was played at Regina Exhibition Stadium. ; November 29 - The Toronto Argonauts win their eighth Grey Cup by defeating the Winnipeg Blue Bombers 10 to 9 in the 35th Grey Cup played in Varsity Stadium in Toronto. This was the last Grey Cup to be won by a team with all Canadian players. 
Title: 1949 Stanley Cup Finals
Content:  The Maple Leafs became the first NHL team to win the Stanley Cup in three straight seasons. The Leafs also won nine straight Finals games (beating Montreal in game six of the Finals, plus consecutive sweeps of the Wings in  and this year). By defeating Detroit, Toronto won the Stanley Cup with a losing regular-season record. The only other team to win the Stanley Cup after finishing the regular season with a losing record was the Chicago Black Hawks, who qualified for the 1938 playoffs with a losing record and ultimately beat Toronto in the Cup Finals three games to one.
Title: 1949 in Canada
Content: April 16 – The Toronto Maple Leafs win their eighth (third consecutive) Stanley Cup by defeating the Detroit Red Wings 4 games to 0. The deciding Game 4 was played at Maple Leaf Gardens in Toronto ; May 16 – The Quebec Junior Hockey League's Montreal Royals win their only Memorial Cup by defeating the Manitoba Junior Hockey League's Brandon Wheat Kings 4 games to 3 (with 1 tie). The deciding game was played Shea's Amphitheatre in Winnipeg ; November 26 – The Montreal Alouettes win their first Grey Cup by defeating the Calgary Stampeders 28–15 in the 37th Grey Cup played at Varsity Stadium in Toronto 
Title: 1967 Stanley Cup playoffs
Content:  The 1967 Stanley Cup playoffs of the National Hockey League (NHL) was the conclusion of the 1966-67 NHL season, and the final playoffs before the expansion from six to twelve teams. The Toronto Maple Leafs defeated the defending champion Montreal Canadiens in six games to win the Stanley Cup. The Leafs squad was the oldest ever to win a Cup final; the average age of the team was well more than 30, and four players were more than 40. Toronto has not won the Cup or been to the Finals since.
Title: 2021 Stanley Cup playoffs
Content:  The Toronto Maple Leafs finished first in the North Division earning 77 points. The Montreal Canadiens earned 59 points to finish fourth in the North Division. This was the sixteenth playoff meeting between these two rivals, with Montreal winning eight of the fifteen previous series. They last met in the 1979 Stanley Cup Quarterfinals, which Montreal won in a four-game sweep. Toronto won seven of ten games in this year's regular season series. The Canadiens defeated the Maple Leafs in seven games after being down 3–1 in the series. In game one, Maple Leafs captain John Tavares got upended by Ben Chiarot; while falling to the ice, Canadiens forward Corey Perry attempted to 
Title: 2010–11 Toronto Maple Leafs season
Content:  The Maple Leafs attempted to make the playoffs for the first time since the 2003–04 season. They were officially eliminated from playoff contention on April 5, 2011, when the Buffalo Sabres won against the Tampa Bay Lightning 4–2, shortly before Toronto lost to the Washington Capitals in a shoot-out. The Leafs hold the longest active Stanley Cup Finals drought streak not having competed in the finals since the 1966–67 NHL season. They also are tied with the Los Angeles Kings and the St. Louis Blues for the longest drought without a Stanley Cup until the Kings won the Stanley Cup in 2012, followed by the Blues in 2019. In the 2009–10 season, the Chicago Blackhawks ended the longest drought without winning a Stanley Cup at that time, not having won the Stanley Cup since the 1960–61 season.
Title: 1945–46 Toronto Maple Leafs season
Content:  The 1945–46 Toronto Maple Leafs season was the 29th season of play of the Toronto NHL franchise. Although the club was the defending Stanley Cup champion, the team's play declined and the club finished in fifth, missing the playoffs.
Title: 1951 Stanley Cup Finals
Content:  The 1951 Stanley Cup Finals was contested by the Toronto Maple Leafs and the Montreal Canadiens. The Maple Leafs won the series 4–1, with all five games going into overtime. It was the Toronto franchise's ninth Stanley Cup win and the last in a series of six wins starting in 1942. It was the first appearance in a string of ten consecutive appearances by the Canadiens.

Question: when was the last time the toronto maple leafs win the stanley cup?
Answer: 1967 Stanley Cup Finals.