Who made up year in earth?

This is not something "made up"; the year is related to Earth's orbit around the Sun. 1 year = one round of Earth around the Sun.