Is this sentence grammatically wrong? 我刚来了中国的时候，不会说中文。 我上大学了的时候，认识了我女朋友。
&quot;我刚来(了)中国的时候，不会说中文。&quot;
&quot;了&quot; here is a verb particle indicates the verb 来 is completed. But &quot;的时候&quot; (the time when) already indicate the event is in the past.  Therefore, &quot;了&quot; is redundant. Just &quot;我刚来中国的时候不会说中文。&quot; is enough.

~

我上大学(了)的时候，认识了我女朋友。
&quot;了&quot; here is also verb particle indicates the verb phrase &quot;上大学&quot; is completed.And &quot;的时候&quot; (the time when) also indicates the event is in the past. Therefore, &quot;了&quot; is redundant. Just &quot;我上大学的时候认识了我女朋友。&quot; is enough

~

&quot;我刚来了中国&quot; and &quot;我上大学了&quot; are grammatically correct
&quot;我刚来了中国的时候&quot; and &quot;我上大学了的时候&quot; are not grammatically correct