What is the meaning of this sentence:

> 
> He met a girl who was to become a queen.
> 
> 
> 

Does it show the plan of the girl? 

Does it mean: *He met a girl who 'was going to' become a queen?*

How and in which sense is 'was to' used in this sentence?