Original: At the beginning of the 19th century the building was sold and partly used as a restaurant.
Simplified: At the beginning of the 19th century, the building was used as a restaurant.