Remove the spaces from the following sentence: His first appointment was as a docent, but after a year he was promoted to professor.
Hisfirstappointmentwasasadocent,butafterayearhewaspromotedtoprofessor.