)He was the son of court musician Johan Palmstedt and his wife Maria Segerlund.At the age of seven, Palmstedt began to attend Maria Church School, where one of his schoolmates was the future Swedish writer of songs Carl Michael Bellman, who became his lifelong friend.