Google's Motorola Mobility is infringing a Microsoft patent related to text input, a regional court in Munich decided on Thursday.
According to the verdict, some Motorolla phones are banned from selling in Germany and Motorola will also be liable for damage if an expected appeal is unsuccessful.
The verdict is related to a patent that describes a method for handling communication between a keyboard and an application.
Microsoft said it was pleased with the decision and was hoping Motorola to join other Android device makers by taking a license to Microsoft's patented inventions.
The injunction and sales ban haven't gone into effect since Motorola gets a chance to appeal the verdict.