The article doesn't say and I haven't been able to find any information about that online. However it seems likely that it was purchased in Italy by Ludwig I of Bavaria, sometime in the early 19th century. Ludwig I made the museum in 1840, and was known for buying art and antiquities in Italy.