Identify the underlined part of the sentence which is not grammatically correct.
By producing a heir, the Queen effectively removed her cousin's hopes of succeeding to the throne.
1
By producing a heir
2
effectively removed
3
cousin's hopes
4
succeeding to