Extract what units are strong against countering cavalry from the following text
The Age of Kings also includes five types of military units: infantry, archers, cavalry, siege weapons, and naval units. Certain types of infantry, archers, and cavalry are "counter units" with special defenses against other types of units. The three human classes of military generally follow a rock-paper-scissors model. For example, infantry are generally powerful against buildings but weak against cavalry, thus the infantry counter units—spearmen and pikemen—have attack bonuses against cavalry.
Spearman and Pikemen are effective counters to Cavalry
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
The Age of Kings also includes five types of military units: infantry, archers, cavalry, siege weapons, and naval units. Certain types of infantry, archers, and cavalry are "counter units" with special defenses against other types of units. The three human classes of military generally follow a rock-paper-scissors model. For example, infantry are generally powerful against buildings but weak against cavalry, thus the infantry counter units—spearmen and pikemen—have attack bonuses against cavalry.
----------------
Answer the following query.
Extract what units are strong against countering cavalry from the following text

user
Spearman and Pikemen are effective counters to Cavalry
assistant