Minnesota Gov. Mark Dayton and top Republicans agreed Thursday to end a budget impasse that prompted the longest state government shutdown in recent history, after the Democratic governor surrendered on raising taxes.

As Danny Valencia's three-run homer barely reached the seats in left field to give the Minnesota Twins a 7-0 lead in the eighth inning, Brian Duensing was worried his chances for a second career shutout left the ballpark with it.