muir spent three years lecturing on mathematics at glasgow university and quickly gained a reputation as a fine teacher.

Please write the text above using proper case.
Muir spent three years lecturing on mathematics at Glasgow University and quickly gained a reputation as a fine teacher.