 In September 2010, McCain led a successful filibuster of the National Defense Authorization Act for Fiscal Year 2011, which included a measure to allow repeal of the "Don't ask, don't tell" law regarding gays in the military.McCain said that the debate on "Don't ask, don't tell" should wait until a Department of Defense survey on the views of the military towards repeal of it was published and that efforts to attach amendments to the authorization were politically motivated by the upcoming midterm elections.The dispute over the repeal threatened to prevent the authorization bill from passing for the first time since 1952.