Hi,
Can I ask you a further question?
"While studying in the UK, I had a girl friend."
A conjunction can join 2 sentences together.
"I had a girl friend" is a sentence.
"studying in the UK" is not a sentence.
So, both sentence 1 and sentence 2 are wrong.
Agree?
Thanks