BISHKEK (AFP) - Kyrgyz President Kurmanbek Bakiyev signed into law on Friday the closure of a key US military supply base for Afghanistan, his press office said, making good on a decision that shocked Washington. Parliament voted overwhelmingly Thursday in favour of the bill to close the Manas airbase outside the Kyrgyz capital, with 78 out of 81 lawmakers present voting in favour. One MP voted against and two abstained. The US military will have 180 days to remove its soldiers and equipment from the base once it is officially notified by the government. Bakiyev's announcement last month of the closure came after Russia offered more than two billion dollars in aid to the struggling Kyrgyz economy. The government has insisted that Moscow did not set the closure as a condition. US Defence Secretary Robert Gates said in Poland that the US would not pay beyond a "reasonable" amount to use the Manas base and said the vote would not be "the last word." "I think we are prepared to look at the fees and see if there is a justification for a somewhat larger payment but we're not going to be ridiculous about it," he said. "We're prepared to do something that we think is reasonable." The US pays 17.4 million dollars a year to use the strategic airbase, which serves as a vital hub for moving troops and supplies in and out of Afghanistan. Meanwhile, the Kyrgyz foreign ministry said on Friday it had officially notified the US embassy in Bishkek of the closure of the Manas US airbase that serves as a transit hub for Afghanistan. "The Kyrgyz foreign minister today sent a note to the US ambassador informing of the cancellation of the December 5, 2001 agreement on the presence of US military personnel in Kyrgyzstan," it said in a statement. The foreign ministry said that according to the agreement the United States now has 180 days to close down and leave the base. US Defence Secretary Robert Gates had said that a vote earlier this week by the Kyrgyz parliament to close the base would not be "the last word." Meanwhile, the United States held out hope Friday for a deal with Kyrgyzstan to avoid the closure of a US military supply base there for Afghanistan even after the Kyrgyz president formalised the shutdown. "I continue to believe that this is not a closed issue and that there remains the potential at least to re-open this issue with the Kyrgyz and perhaps reach a new agreement," US Defence Secretary Robert Gates said. "If we are not able to do that on reasonable terms, then we are developing alternative methods of getting resupply and people into Afghanistan," he told reporters after talks in Krakow, Poland with his NATO counterparts. Gates declined to confirm reports that Tajikistan and Uzbekistan have agreed to the transit of non-lethal US supplies for troops in Afghanistan.