I believe the answer is: Political socialization
This process started as soon as our cognitive ability allows us to formulate logical thought. Many factors could affect individual political socialization. Those factors could include things such as: Family value, Education that received, the friends that the individual has, Mass media, etc.