Input: When did latvia became part of the soviet union?
Output: 

 When did the People's Assembly of latvia declared Latvia a Socialist Soviet Republic? 
 July 21, 1940