HTC Corp has fired back in its legal battle with Apple Inc, asking the U.S. International Trade Commission to ban sales of iPhones, iPads and iPods in the United States.

In a complaint filed with the ITC and obtained by Reuters, HTC accused Apple of infringing five of its patents related to cellphone directory hardware and software and power-management technology in portable devices.

HTC's action was widely expected after Apple filed a patent infringement suit against the company in March.

Apple's move against HTC was seen as a proxy for an attack on Google Inc. Taiwan's HTC makes smartphones based on Google's Android software, which has gained ground on Apple's popular iPhone.

In the complaint dated May 12, HTC said Apple violated patents on technology that helps devices such as the iPhone manage power and handle phone directories, and on technology that enables the just-launched iPad tablet computer to store data when in "sleep" mode, among other applications.

HTC is seeking a ban on importation, marketing and sale of Apple's popular mobile devices in the United States. Apple, whose products are made in countries such as China, declined comment.

For its part, Apple accused HTC of infringing 20 patents. In addition, Apple filed a complaint with the ITC and also sued HTC in the U.S. District Court in Delaware.

"We are taking this action against Apple to protect our intellectual property, our industry partners, and most importantly, our customers that use HTC phones," Jason Mackenzie, HTC's vice-president for North America, said in a statement.

According to IDC, Apple held 16% of the global smartphone market in the January-March period, and HTC around 5%. Apple was the No. 3 vendor, one slot ahead of HTC.

"HTC seeks, as relief, a permanent exclusion order barring from entry into the United States all infringing portable electronic devices and related software imported by or on behalf of Apple," HTC said in its complaint.

While Apple's lawsuit against HTC did not name Google as a defendant, it was seen as a strategic move against Google, whose mobile software powers handsets from Samsung Electronics, Motorola Inc and others.

Google allows smartphone makers to use its software for free.

Research group NPD said smartphones using Android software passed Apple to claim the No.2 spot in the U.S. market in the first quarter.

The ITC, a U.S. trade panel that investigates patent infringement involving imported goods, has become an increasingly popular venue for patent lawsuits because it can bar the importation of products that infringe patents.

Legal wrangling is commonplace in the smartphone market, an industry where many vendors work under cross-licensing agreements. Just last month, HTC struck a licensing deal with Microsoft Corp.

Apple is also fighting a high-profile legal battle with Nokia, the world's top handset maker. The companies have sued each other over patents related to mobile device technology.