Title: List of Detroit Pistons seasons
Content:  This is a list of seasons completed by the Detroit Pistons of the National Basketball Association. The franchise was founded in 1941 as the Fort Wayne Zollner Pistons in the National Basketball League and as the Fort Wayne Pistons joined the Basketball Association of America, which was the precursor to the NBA. However, the games won and lost in the NBL are not included in the franchise total. The Pistons have had three main periods of success. In the early years of the NBA the team reached the NBA Finals twice in consecutive years before falling to the Lakers and then to the St. Louis Hawks. Following an extended era of mediocrity the Pistons, led by the Hall of Fame backcourt of Isiah Thomas and Joe Dumars and nicknamed the "Bad Boys" for their intimidating defence, posted winning records every seasons from 1983–84 to 1991–92, and after narrowly losing 
Title: Sports in Detroit
Content:  Detroit was given the name "City of Champions" in the 1930s, for a series of successes both in individual and in team sport. The Detroit Lions won the National Football League championship in 1935. The Detroit Tigers won the American League pennant in 1934 and again in 1935, subsequently winning the World Series in 1935. The Detroit Red Wings won the National Hockey League's Stanley Cup in 1936 and 1937. This meant Detroit featured the defending champions in the NFL, NHL and MLB simultaneously from April 11, 1936 through October 5, 1936. Detroit remains the only city to win three major professional sports championships in the same year and until 2020 the only city to win 
Title: 2015–16 Detroit Pistons season
Content:  The 2015–16 Detroit Pistons season was the 75th season of the franchise, the 68th in the National Basketball Association (NBA), and the 59th in the Detroit suburban area. This season marked the first time the Pistons qualified for the NBA playoffs since the 2008–09 season, and also marked their first winning season since the 2007–08 season. The Pistons would also end their record as the team in the eastern conference with the longest active postseason drought at seven seasons. The Pistons were the first team with a winning percentage above .500 at the Eastern Conference's 8th seed since the 2011–12 Philadelphia 76ers. In the playoffs, the Pistons were swept by the eventual NBA champion Cleveland Cavaliers in four games in the First Round. The Pistons would not make another playoff appearance until 2019.
Title: List of Detroit Pistons seasons
Content:  1988, ended the Lakers dynasty of the 1980s the following season and repeated the following year. The Pistons’ third period of success, with former on-court star Dumars serving as general manager and building a top team from other franchises’ discards, occurred between 2001–02 and 2007–08 when the team won fifty games or more during every season, including a third NBA title in 2003–04 and a franchise record total of wins two seasons later. The Pistons have experienced two major periods of failure. Between 1956–57 and 1982–83, the Pistons had just three winning seasons and overall had a winning percentage of .417, culminating in a combined record of 37–127 (win percent .226) in the 1979–80 and 1980–81 seasons, after which the drafting of Isiah Thomas completely revitalized the franchise. Since 2009–10, the Pistons have only once finished out of the bottom two in their division or had a winning record.
Title: 1935 NFL Championship Game
Content:  Detroit reigned as triple major league champions for nearly six months, until the Yankees clinched the 1936 World Series on October 6. No city has ruled as champions of three major sports simultaneously since. But the Tigers, Lions and Wings were not the Motor City's only champions: Detroit's "Brown Bomber," Joe Louis, was the heavyweight boxing titlist; Detroiter Gar Wood, the first man to go 100 miles per hour on water, reigned as the world's top unlimited powerboat racer; and black Detroiter Eddie "the Midnight Express" Tolan had won gold medals in the 100- and 200-meter races at the 1932 Summer Olympics.
Title: List of Detroit Lions seasons
Content:  The Detroit Lions are a professional American football team based in Detroit, Michigan. The Lions compete in the National Football League (NFL) as a member club of the league's National Football Conference (NFC) North division. The team plays its home games at Ford Field in Downtown Detroit. Originally based in Portsmouth, Ohio and called the Portsmouth Spartans, the team began play in 1928 as an independent professional team. The Lions have won four NFL championships, tied for 9th overall in total championships amongst all 32 NFL franchises; although the last was in 1957, which gives the club the second-longest NFL championship drought behind the Arizona Cardinals. The Lions were the first franchise to finish a full (non-strike shortened) regular season with no wins or ties since the move to sixteen season games in 1978, going 0–16 during the 2008 NFL season. They are also one of four current teams, and the only one in the NFC, to have never played in the Super Bowl.
Title: Detroit Pistons
Content:  and the Detroit Falcons of the BAA in 1947, and the Detroit Vagabond Kings in 1949. Zollner decided to keep the Pistons name, believing it made sense given Detroit's status as the center of the automobile industry. George Yardley set the NBA single-season scoring record in the Pistons' first season in Detroit, becoming the first player to score 2,000 points in a season. The Pistons played in Olympia Stadium (home of the Detroit Red Wings of the National Hockey League (NHL) at the time) for their first four seasons, then moved to Cobo Arena. During the 1960s and 1970s, the Pistons were characterized by very strong individuals and weak teams. Some of the superstars who played for 
Title: Detroit
Content:  to Belle Isle with both Indy Racing League and American Le Mans Series Racing. From 1982 to 1988, Detroit held the Detroit Grand Prix, at the Detroit street circuit. Detroit is one of eight American cities to have won titles in all four major leagues (MLB, NFL, NHL and NBA), though of the eight it is the only one to have not won a Super Bowl title (all of the Lions' titles came prior to the start of the Super Bowl era). In the years following the mid-1930s, Detroit was referred to as the "City of Champions" after the Tigers, Lions, and Red Wings captured the three major professional 
Title: Detroit Titans football
Content:  Detroit won its only national championship in 1928, with Parke H. Davis selecting both Detroit and Georgia Tech. The school claims this championship.
Title: 2007–08 Detroit Pistons season
Content:  Boston on May 26, 2008 remains their most recent playoff victory. The Pistons had the seventh best team offensive rating in the NBA. Following the season, Flip Saunders was fired as head coach. Detroit played its home games at The Palace of Auburn Hills in Auburn Hills, Michigan, which was sold out for each of the 41 regular season home games and all nine playoff games. The Pistons wore the #50 on the upper left side of their jerseys in honor of the 50th anniversary of them playing in Detroit. This season is the last time until the 2015–16 NBA season that the Pistons had a winning record and as of 2021 the last time they won a playoff series.

Question: when did the detroit pistons last win the championship?
Answer: 2004 NBA Finals.