Was Merthyr Tydfil ever the capital of Wales?

No Merthyr has never been a capital or even a city. However, it was considered the largest iron making town in the world when the Dowlais Iron Works (Owned by the Guest Family) was producing over 23% of the worlds iron requirements