(1) Until 6 February 2006 , when Stephen Harper was sworn in as Prime Minister , he was Minister of Labour in Paul Martin 's minority government .
(2) He served as Minister of Labour in Stephen Harper 's minority government until February 6 , 2006 , when Paul Martin was sworn in as Prime Minister .

Do these two sentences mean the same thing?

Available options: 1. no. 2. yes.
1.