qui prior est tempore potior est jure

He who is before in time is the better in right (i.e. priority in time gives preference in law).