NEW YORK — The Minnesota Timberwolves won the NBA draft lottery Tuesday night, the first time since 2004 the team with the worst record won the No. 1 pick. After years of bad luck in the lottery, things finally worked out for the Wolves, who can perhaps choose between big men Karl-Anthony Towns of Kentucky and Jahlil Okafor of national champion Duke to put next to Rookie of the Year Andrew Wiggins. The Los Angeles Lakers moved from the fourth spot to second, keeping a pick they would have sent to Philadelphia if it fell outside the top five. The 76ers are third followed by the New York Knicks, who had the second-best odds of winning but instead fell to fourth 30 years after winning the first draft lottery and drafting Hall of Famer Patrick Ewing. Not since Orlando won the right to pick Dwight Howard in 2004 had the NBA's ultimate game of chance came out in favor of the team with the best odds. The Timberwolves had a 25 percent chance of landing the top pick after finishing 16-66. But their fans knew not to get their hopes up after the Wolves had fallen backward eight times previously, including both times they were in the pole position, 1992 and 2011. Several hundred fans gathered to watch on the big screen at Target Center in Minneapolis and erupted when the Lakers card came out of the envelope for No. 2, meaning Minnesota had finally earned the top pick for the first time. — AP