Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Name | Tenure | Courtesy title | Court Rank | revenues |
| --- | --- | --- | --- | --- |
| Naitō Masamitsu ( 内藤政苗 ? ) | 1749–1766 | Tamba-no-kami | Lower 5th (従五位下) | 20,000 koku |
| Naitō Satobumi ( 内藤学文 ? ) | 1766–1794 | Yamashiro-no-kami | Lower 5th (従五位下) | 20,000 koku |
| Naitō Masamichi ( 内藤政峻 ? ) | 1794–1813 | Yamashiro-no-kami | Lower 5th (従五位下) | 20,000 koku |
| Naitō Masanari ( 内藤政成 ? ) | 1813–1830 | Yamashiro-no-kami | Lower 5th (従五位下) | 20,000 koku |
| Naitō Masahiro ( 内藤政優 ? ) | 1830–1851 | Tamba-no-kami | Lower 5th (従五位下) | 20,000 koku |
| Naitō Masabumi ( 内藤政文 ? ) | 1851–1858 | Yamashiro-no-kami | Lower 5th (従五位下) | 20,000 koku |
| Naitō Masanari ( 内藤政成 ? ) | 1858–1871 | Tamba-no-kami | Lower 5th (従五位下) | 20,000 koku |
Question:
What is the tenure of the person whose courtesy title is yamashiro-no-kami?
Answer:
1766–1794, 1794–1813, 1813–1830, 1851–1858