China and the United States agreed on Thursday to boost military ties and counter-terrorism cooperation during high-level annual talks in Beijing, but there was little immediate sign of progress on thorny cyber-security or maritime issues, Reuters reported. The two-day talks, led by Secretary of State John Kerry and Treasury Secretary Jack Lew for the United States and Vice Premier Wang Yang and top diplomat Yang Jiechi for China, were never expected to achieve great breakthroughs. The Strategic and Economic Dialogue, now in its fifth year, is more about managing an increasingly complex and at times testy relationship. After discussions on topics ranging from the value of China's currency to North Korea, Yang said the two sides agreed to strengthen cooperation in counter-terrorism, law enforcement and military-to-military relations. On two of the most sensitive issues - maritime disputes and cyber-spying - Yang largely restated Beijing's position on both. "The Chinese side will continue to steadfastly protect its territorial and maritime rights" in the South and East China Seas, Yang told reporters as the talks wrapped up. "China urged the U.S. side to adopt an objective and impartial stance and abide by its promise to not take sides and play a constructive role in safeguarding regional peace and stability."